Do I need to disable PHP redirects?

Last update: 26 August, 2016

The short answer for most users is:

No. You do not need to disable PHP redirects.


Please let us explain.

The default setting for Yoast SEO Premium is that PHP handles your redirects. This requires no work on your end, except for entering the redirects.

If you only have few redirects your server will be able to handle them quickly using PHP redirections.

However, if you have a lot of redirects, they may slow PHP down. In that case it can be useful to let your webserver take care of the redirects.

When you go to Admin -> SEO -> Redirects -> Settings you’ll see a toggle to select the type of redirect method you want to use. Turning the Redirect method toggle to the right will deactivate the PHP redirects. Upon saving the settings, you’ll see a notice explaining how to set up the redirects for your type of webserver.

Once you’ve followed all the steps in the notice, redirects should work again.

Was this article helpful? ·