404 on all links from homepage

Getting 404 pages on all the links from your homepage? I was too… After about a decade of trying to convey the issue to a USELESS ‘live chat’ support person with my hosts, I found the answer for myself.

WordPress changes the .htaccess file depending on the permalink style you choose. There are two ways to solve the 404 error problem;

Option A – Change your permalink style to the default, and then back again.

Option B - For the more webDev savy, go to your .htacess and add the following code;

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

That should fix it!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

426 Spam Comments Blocked so far by Spam Free Wordpress

HTML tags are not allowed.