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 đ.
To use Bulk Redirection, follow the steps below.
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.
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
âAvalid 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.
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.
â
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-source | url-destination | code | Regex | Preserve query string |
---|---|---|---|---|
https://www.edgeseo.io/toto?querystring=1 | https://www.edgeseo.io/ | 301 | Y | Y |
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-source | url-destination | code | Regex | Preserve query string |
---|---|---|---|---|
https://www.edgeseo.io/toto?querystring=1 | https://www.edgeseo.io/ | 301 | N | Y |
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
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