WordPress htaccess rewrite not working

Views: 509

AllowOverride None in httpd.conf is too high security to permit WordPress to use Search Engine friendly URLs

Using Amazon Linux and perhaps  other iterations  of Centos / Redhat sets high security, which messes with WordPress being able to use search engine friendly URLs.

wordpress htaccess rewrite not working
wordpress htaccess rewrite not working

Go in your /etc/httpd/conf/httpd.conf file and change references to AllowOverride

AllowOverride All


I left it as none in the cgi-bin directory since I don’t use that much anymore and it is better to keep it secure. You might even just delete that directory.

AllowOverride Not Enabled Your server may not have the AllowOverride directive enabled. If the AllowOverride directive is set to None in your Apache httpd.config file, then .htaccess files are completely ignored. In this case, the server will not even attempt to read .htaccess files in the filesystem. When this directive is set to All, then any directive which has the .htaccess Context is allowed in .htaccess files. Example of enabled AllowOverride directive in httpd.config: Options Foll

Source: Using Permalinks « WordPress Codex

Leave a Reply