fbpx

How to fix 404 errors on WordPress

Does your homepage work but all other pages return a 404 not found error on your WordPress Blog?

Can I fix 404 errors without having WordPress admin logins?

Yes, if you are helping someone and do not have access to their WordPress control panel you can fix the issue by editing the .htaccess file.

Simply copy and paste the rewrite rules shown below into your WordPress site’s root folder.

# 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>
# END WordPress

If you are unsure which folder is the WordPress root folder, look for folders such as wp-admin, wp-content and wp-includes as seen below.

The .htaccess file needs to be created/edited in the root folder seen.