404 Errors and Missing Images

This WordPress error manifests as follows: You visit an existing single post but see a 404 error page instead. However, the rest of the site is fine.

Weird, right? Yet, it happens and is usually quick to solve.

Solution

Nine times out of ten, this problem is caused by faulty rewrite rules and goes away when you simply re-save your permalink structure under Settings > Permalinks.

This flushes the .htaccess file and should usually be enough to make the problem go away. Yet, if it doesn’t, you might need to take manual action.

As you already know, you can find .htaccess in your roots directory. Open it and add the following lines of code:

   

Tables can't be imported directly. Please insert an image of your table which can be found here.

1 2 3 4 5 6 7 8 9 10# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase/RewriteRule^index\.php$-[L]RewriteCond%{REQUEST_FILENAME}!-fRewriteCond%{REQUEST_FILENAME}!-dRewriteRule./index.php[L]</IfModule># END WordPress

That should do the trick.

Was this article helpful?
0 out of 0 found this helpful