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

url-source

keyboard_arrow_down

La colonne <url-source> permet d’indiquer la page sur laquelle vous souhaitez appliquer des modifications.
La colonne <url-source> est obligatoire pour chaque ligne.
Nous attendons une url valide qui répond avec un statut code 200 dans la colonne

‍C’est quoi une « query string » ?
‍
Une "query string" est une partie de l'URL contenant des paramĂštres sous la forme clĂ©=valeur, comme dans https://exemple.com/page?clĂ©1=valeur1&clĂ©2=valeur2.Vous trouverez une dĂ©finition complĂšte ici : 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.

url-destination

keyboard_arrow_down

The url-destination column is used to indicate the page to which you wish to apply modifications.
The url-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:

<url-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 regex column indicates that we are using REGEX in the url-source and/or url-destination‍

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

The regex column is mandatory. By default, if you do not use a REGEX, enter "N".

Example in csv file

regex

Y

Exemple de résultat avec la colonne <preserve-query-string>

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 preserve the URL query strings 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 mandatory. By default, if you don't want to preserve the query string of the URL, enter "N".

preserve-query-string

Y

Exemple de résultat avec la colonne <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