You Should Add [XYZ] to the httpd Config File

The warning:

As you’re on Apache, you should add the following include to the website httpd config file:
Include /Path_To_WordPress/wp-content/uploads/wpseo-redirects/.redirects

The Cause

When you disable PHP redirects and generate a separate redirect file, the plugin writes all redirects to a custom file. However, your server doesn’t know to use the custom file. The included command tells the server to use the custom file.

The Solution

Your webhost or server administrator can provide instructions on how to edit the httpd config file for your website.

Due to security reasons it is not possible for the plugin to check the full pathway of the server. This means even if you know you added the pathway to your httpd.conf file the message will still appear.

Did this article answer your question?

Thanks for your feedback!

Related articles

Get free SEO tips!