Do I need to disable PHP redirects?

The short answer for most users is: No. You do not need to disable PHP redirects.

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 a few redirects your server will be able to handle them quickly using PHP redirections. However, if you have a lot of redirects (the exact number depends on your server), they may slow PHP down. In that case, it can be useful to let your web server take care of the redirects.

How to change your redirect method

In the Yoast SEO Redirects menu, you can change the method of your redirects.

  1. In your WordPress Dashboard, go to Yoast SEO


  2. Go to Redirects


  3. Go to Redirect method


  4. Select the redirect method of your choice

    PHP is the default option and works with most server configurations. Web Server primarily appears for non-Apache servers like NGINX.

  5. Click Save changes


  6. Resolve any notifications

    In some cases, you will receive a notification regarding changes that need to be applied to your server to use the selection redirect method. Please make the requested changes to ensure redirects are handled correctly.

Did this article answer your question?

Thanks for your feedback!

Related articles

Get free SEO tips!