I am getting 404 not found error after enabling my SEFs, how to resolve it?

Sometimes 404 not found error occurs when you enable your SEFs. To fix this go to your WordPress main directory and open the .htaccess file. Make sure that the file has the following rules:
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

If not, then change the code of the .htaccess file according to the above rule.

If you don't have a .htaccess file, then create a new .htaccess file that contains all of the above rules. 
That's it, now your problem will be fixed.

Did you find this article useful?