When Your WordPress Site Throws a 404 on Viewing Posts

Real quick post that may help someone. It won’t help me because I seem to hit this while testing my first WordPress Site on every new server and I have the fix down cold. The latest reminder was on the Linode server I’m currently configuring.

Everything looks good on your WordPress site. It’s coming up beautifully, then you click on a post from the Home Page and see a 404 Page Not Found.

Your .htaccess redirect code is perfect as well.

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

Okay, here’s the fix which does the job 9 out of 10 times, at least for me. Don’t blink.

Now go load those posts!