Notice: There is no legacy documentation available for this item, so you are seeing the current documentation.
The Redirect addon in All in One SEO supports two different methods to handle redirects.
NOTE:
The Redirection Manager feature is available to customers with a Pro plan or above for All in One SEO Pro.
Upgrade to All in One SEO Pro today to get Redirection Manager and many more features!
In This Article
Tutorial Video
Selecting the Redirect Method
You can select this by going to Redirects in the All in One SEO menu and then click on the Settings tab.
You'll see the first setting is Redirect Method where you'll see two choices – PHP and Web Server.
Difference Between PHP and Web Server Redirect Methods
The PHP method is the simplest method and best for most users because it doesn't need any server-side configuration. If you're not familiar with configuring Apache, NGINX, or LiteSpeed on your web server then this is the best method for you.
The Web Server method is faster than the PHP method but it does require experience configuring Apache, NGINX, or LiteSpeed and it's easy to mess up your site if you don't know what you're doing.
If you select the Web Server method then you'll see a notice informing you to include a line in your web server configuration file.
Steps to Complete on Your Server
If you're using Apache as your web server, then the line should be included in the Apache virtual hosts file. You will then need to restart Apache.
If you're using NGINX as your web server, then the line should be included in your nginx.conf file. You will then need to restart NGINX.
If you're using LiteSpeed as your web server, then the line should be included in your LiteSpeed virtual hosts file. You will then need to restart LiteSpeed.
If you're unsure what to do, contact a web server administrator or your hosting provider.
Known Limitations
There are two limitations to using the Web Server method, these are:
- All in One SEO can't count hits because these are handled by the web server and not PHP
- All in One SEO can't display log redirects, so the Logs tab will not be displayed
Below the Redirect Methods you'll see buttons for Export NGINX config file and Export .htaccess file. You can use these to export your active redirects so that you can import them into your nginx.conf or .htaccess files.
Check out more documentation on our Redirection Manager here.