Skip to content Skip to navigation
Back to the main support

Import redirects from a CSV file

Build your CSV file

Import your own redirections from a .csv file (separator , or ;). You must have these columns in this order:

  • URL to match (without your domain name): category/my-blog-post-slug
  • URL to redirect in absolute: https://www.example.org/my-super-article,
  • type of redirection: 301, 302, 307, 410 or 451,
  • yes to enable the redirect (leave it empty to disable the redirect)
  • the query parameter:
    exact_match = Exact match with all parameters,
    without_param = Exclude all parameters,
    with_ignored_param = Exclude all parameters and pass them to the redirection,
  • the counter (optional),
  • category redirect IDs separated by commas (optional): 738,108,134,
  • yes to enable regular expressions (leave it empty to disable this),
  • and the last parameter, the connection status: both, only_logged_in or only_not_logged_in.

Download a CSV example

Import your CSV file

Go to SEO, Tools, Redirections tab, Import Redirections section and upload your file.

Duplicated entries from your CSV file will be automatically removed to avoid conflicts.

Go to SEO, Redirections to see your new redirects.

Make sure to use the right separator, comma or semi-colon to avoid any issues during the import!