URL Redirects

Bulk import redirects

Whether you are moving to RebelMouse or if you are just managing the amount of 404s or errors on your site's business, bulk importing redirects helps you be more efficient and solve the errors that could be preventing you to have a great SEO (and a lot of users!)

Redirects are a way for telling browsers and search engines that your content has moved permanently (or temporarily). No more dead ends or lost visitors.

In this guide, we'll show you how to set up bulk 301 or 302 redirects with ease, keeping your web presence vibrant and user-friendly.

Before you start bulk importing redirects review here some of the terms and requirements to successfully do so:

File requirements and technical limits

All redirect files being imported into Rebelmouse must:

  • Be a .csv, xml or json file.
  • Have only one sheet.
  • Include a header row in which each column header corresponds to a property in RebelMouse. The column headers can be organized in any order without affecting the import.
  • Be UTF-8 encoded if foreign language characters are included.

Property requirements

The following properties are required on the file for you to be able to import a redirect, and must be included as columns headers in your files:

  • old_url: should contain the original URL path that you want to redirect from.
  • new_url: column should contain the URL path or Full URL that you want to redirect to.
    • If you want to redirect for an internal resource the path would be enough, if you would like to redirect to an external URL then you need to write the entire path of new destination
  • code: column should contain either 301 for a permanent redirect or 302 for a temporary redirect.

Please note: via import, you can import to create new line items, but cannot update existing line items. When importing line items with redirects, the import will not update the redirect. To update existing line items you can manually edit the redirect items on redirect dashboard.

Sample import files for Bulk Redirect



  • Bulk Redirect File Example: CSV

How to Bulk Import Redirects


Once you have your CSV file ready, you can upload it to our tool using the bulk update feature. The tool will guide you through the process of linking the expected fields from the CSV to our tool. You'll be able to preview the redirects before you create them, so you can make sure everything looks correct.

  • Go to your redirect dashboard (your site + /r/dashboard/redirects)
  • Click in Add Button, then Import Redirects
  • Upload the CSV file
  • Link the csv column to required columns for import (old_url, new_url and code)
  • You can preview before to start to process the import
  • Next, here will validate your data
  • Next, will start the import process
  • You are done you can close the importer tool and return to the redirects

Advanced Settings

The flexibility of our importer tool will allow to generate customs imports example like add prefix depending or other column, for example you have a section column and the URL, maybe you can join or if you don’t have the column, here you can just add code to set that value:

ex: adding code dynamically setting always 301:

the CSV is not including the code, we can add it dynamically like in the example:

ex: Removing Path:

Since we require only the old path rather than the complete URL, a solution for cases where the file contains the full URL involves utilizing our code tool. By crafting a simple JavaScript code, you can effectively extract the path from the URL, as illustrated in the following example:


old,new,code https://mysite.com/old-url, /some/test/url, 301


Need help?

Get in touch with our support team: support@rebelmouse.com

What Is RebelMouse?
Request a Proposal

Websites Are Built

The Fastest Sites in the World Run on RebelMouse

Let’s Chat


RebelMouse Performance Monitoring

Real-Time Core Web Vitals

Get Started

Our Core Features

Our platform is a complete digital publishing toolbox that's built for modern-day content creators, and includes game-changing features such as our:

Layout and Design toolLayout and Design tool on mobile

Why RebelMouse?

Unprecedented Scale

RebelMouse sites reach more than 120M people a month, with an always-modern solution that combines cutting-edge technology with decades of media savvy. And due to our massive scale, 1 in 3 Americans have visited a website powered by RebelMouse.

120M+ Users
550M+ Pageviews
17+ Avg. Minutes per User
6+ Avg. Pages per User

Today's Top Websites Use RebelMouse

Thanks to the tremendous scale of our network, we are able to analyze a wealth of traffic data that informs our strategies and allows us to be a true strategic partner instead of just a vendor.

upworthyindy100Vault12No Film SchoolRawStoryResponsible StatecraftPrideMNI Market NewsPremierGuitarPenskeINN Educate Brand ConnectThe FulcrumGZEROOkayafricaBrit+CoPaper MagazinePowerToFlyNarcityCommonDreamsAllBusiness

What Clients Say

We’re here to help you weigh and understand every tech and strategic decision that affects your digital presence. Spend less time managing everything yourself, and more time focused on creating the quality content your users deserve.

Case Studies

A Team Built Like No Other

RebelMouse employs a unique, diverse, and decentralized team that consists of 70+ digital traffic experts across more than 25 different countries. We have no central office, and we cover every time zone to ensure that we’re able to deliver amazing results and enterprise-grade support around the clock.

Our team is well-versed in all things product, content, traffic, and revenue, and we strategically deploy ourselves to help with each element across all of our clients. We thrive on solving the complex.

Let's Chat