Selecting the Redirect Method in Redirects

The Redirect addon in All in One SEO supports two different methods to handle redirects.

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.

Settings tab shown on the Redirects screens

You'll see the first setting is Redirect Method where you'll see two choices – PHP and Web Server.

Difference Between PHP and Apache 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 export a web server configuration file.

Server configuration file notice in Redirect Method settings

Steps to Complete on Your Server

If you're using Apache as your web server, then export the file and include the entries in your Apache virtual hosts file. You will then need to restart Apache.

If you're using NGINX as your web server, then export the file and include the entries in your nginx.conf file. You will then need to restart NGINX.

If you're using LiteSpeed as your web server, then export the file and include the entries 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

Check out more documentation on our Redirection Manager here.