You Should Add [XYZ] to the httpd Config File

As of Yoast SEO 20.0, the settings interface inside our plugins has received a major overhaul. Please update to the latest version of Yoast SEO if your plugin does not look like the screenshots you encounter in our Help center.

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.

Related articles

Get free SEO tips!