Menu

Bulk Redirection

The "Bulk Redirection" application lets you deploy 301,302,307,308 redirects on your site by setting up a CSV file. If you're not familiar with the .htaccess file, you'll love it 😉.

The video tutorial

How do I use Bulk Redirection?

To use Bulk Redirection, follow the steps below.

  1. To access the Bulk Redirection application, connect to our EdgeSEO solution solution, then click on the "Bulk Redirection" application setup button.
  2. If you're using the application for the first time, download the CSV template or duplicate the GoogleSheet template > BULK REDIRECTION tab
  3. If you've already used "Bulk Redirection", 🚹 you'll need to start from your existing file. The "Bulk Redirection" application works with a "cancel and replace" mechanism for the csv file. You can download the file currently in production from the link on the interface (screenshot).
  4. Fill in the columns of the CSV file with your data. Full details of each column are given below 👇
  5. Upload your file and click on save.
  6. Check that redirects are applied to your urls.

Columns in the "Bulk Redirection" file

Source

keyboard_arrow_down

The column Source column is used to indicate the page to which you wish to apply modifications.
The Source column is mandatory for each line.
We expect a valid url that responds with a status code 200 in the column

‍What's a "query string"?
‍A
"query string" is a part of the URL containing parameters in the form key=value, as in https://exemple.com/page?clĂ©1=valeur1&clĂ©2=valeur2.Vous find a full definition here: https: //fr.wikipedia.org/wiki/ChaĂźne_de_requĂȘte

Below are some examples of URLs that will return an error:
‍
❌ www.edgeseo.io → The https:// or http://
protocol is missing ❌ edgeseo.io → The https:// or http://
protocol is missing ❌ /blog → The https:// or http:// protocol and the full domain are missing.

Destination

keyboard_arrow_down

The column Destination column is used to indicate the page to which you wish to apply modifications.
The Destination column is mandatory for each line.
We expect a valid url that responds with a status code 200 in the column

‍Examplein the csv file
‍A
valid URL must be structured with the protocol (http:// or https://) followed by the full domain.
Below are some examples of URLs that are valid:

Destination

https://www.edgeseo.io/

https://edgeseo.io/

https://www.edgeseo.io/blog

https://www.edgeseo.io/blog?param=1

Below are some examples of URLs that will return an error:
‍
❌ www.edgeseo.io → The https:// or http://
protocol is missing ❌ edgeseo.io → The https:// or http://
protocol is missing ❌ /blog → The https:// or http:// protocol and the full domain are missing.

code

keyboard_arrow_down

The column code column is used to indicate the "status code" to be applied to the redirection

The code column is mandatory for each line.

Example in csv file

code

301

Focus on redirection status

301: Permanent redirection, indicating that the resource has been permanently moved to a new URL.

302: Temporary redirection, indicating that the resource is temporarily available at a new URL.

307: Temporary redirection that preserves the HTTP method, similar to 302 but without changing the method.

308: Permanent redirection that preserves the HTTP method, generally used for forms.

‍

Regex

keyboard_arrow_down

The column Regex column indicates that we are using REGEX in the url-source and/or url-destination‍

The column Regex column can take the values "Y" if you wish to use REGEX or "N" if you don't.

The column Regex column is not present by default in the CSV template. If you wish to use it, you must add it.

‍

Example in csv file

Regex

Y

Example of a result with the Regex column

url-sourceurl-destinationcodeRegexPreserve query string
https://www.edgeseo.io/toto?querystring=1https://www.edgeseo.io/301YY

Preserve query string

keyboard_arrow_down

The column Preserve query string column is used to indicate that we want to keep the URL query string in the url-source and/or url-destination

The column Preserve query string column can take the values "Y" if you wish to preserve the query string, or "N" if you don't.

The column Preserve query string column is not present by default in the CSV template. If you wish to use it, you must add it.

Preserve query string

Y

Example of result with column Preserve query string

url-sourceurl-destinationcodeRegexPreserve query string
https://www.edgeseo.io/toto?querystring=1https://www.edgeseo.io/301NY

Frequently asked questions

What is a REGEX?

keyboard_arrow_down

Une REGEX, expression réguliÚre, est une séquence de caractÚres formant un motif de recherche, comme \d{3} pour trouver trois chiffres consécutifs.Vous trouverez une définition complÚte ici : https://fr.wikipedia.org/wiki/Expression_réguliÚre

What's a query string?

keyboard_arrow_down

A "query string" is a part of the URL containing parameters in the form key=value, as in https://exemple.com/page?clĂ©1=valeur1&clĂ©2=valeur2.Vous Find a complete definition here: https://fr.wikipedia.org/wiki/ChaĂźne_de_requĂȘte