Exporting and Importing Redirects

Check out our video on how to use the Redirects feature here.

All in One SEO makes it easy to export redirects in a number of formats. You can also import redirects if you want to copy or migrate them to another site.

You can also export logs as well.

To get started, go to Redirects in the All in One SEO menu and then click on the Import / Export tab.

Import / Export screen in Redirection Manager

Exporting Redirects

On the Import / Export screen you’ll see a section for Export Redirects. Here you have several choices.

You’ll see check boxes for Export All Redirects or to just export the specific types of redirects. Here’s an explanation of each check box:

  • Export All Redirects: This will export all the redirects set in All in One SEO
  • Manual Redirects: This will export only the redirects you’ve created on the Redirects tab
  • Modified Posts: This will export only the redirects that All in One SEO has automatically created when slugs have been modified in your content. The Automatic Redirects setting must be enabled for this
  • 404 Redirects: This will export only the redirects you’ve created from 404 Logs. The 404 Logs setting must be enabled for this

Once you’ve selected which redirects you want to export, you can select the format for the export file in the drop down.

There are three types of export files that All in One SEO can generate:

  • Complete Data (JSON): This file is used when you want to import your redirects on another site
  • Apache Redirects (.htaccess): This will generate a file you can use to migrate your redirects to your .htaccess file on your server
  • NGINX Redirects (.nginx): This will generate a file you can use to migrate your redirects to your nginx.conf file on your server

Once you’ve selected which redirects you want to export, and the format for the export file, click the Export Redirects button and the file will download to your computer.

Importing Redirects

You can import redirects into All in One SEO using our JSON file format. This can be useful when you want to copy redirects to another site.

To start, make sure you’ve exported your redirects from All in One SEO using the Complete Data (JSON) file format.

Then, in the Import Redirects from AIOSEO File section, click the Choose a File button and locate and select the export file you downloaded to your computer. Finally, click the Import button to import your redirects.

Exporting Logs

You can export the logs from the Redirection Manager. To do this, click on either the Export Redirect Logs button or the Export 404 Logs button to export either log file.

Importing Redirects From Other Plugins

You can import redirects from other well known SEO and redirection plugins. To learn how to do this, check out our Importing Redirects From Other Plugins article.

Check out more documentation on our Redirection Manager here.

Here’s a video on how to use our Redirects features:

This feature was added in All in One SEO version 4.1.0.