Hi,
Problem Summary: One of our client has enabled SEF/Short URLs for his wordpress Blog. But since he has enabled the SEF all the posts and pages are receiving “404 Not Found” error message for all the posts and pages.
Solution:
If this error occurs we should make sure that .htaccess file in WordPress main directory has the following rules:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php/$1
If you do not have .htaccess file at all then need to create it with above rules which will enable the use of SEF on the webserver.
Our client has not added the rules in .htaccess file. We have added it which has fixed the case.
Thanks,
Shane G.
Popularity: 3%