Does your homepage work but all other pages return a 404 not found error on your WordPress Blog?
Table of contents
Permalinks
This is a common issue within WordPress and often happens after migrating to a new hosting provider. To fix 404 not found errors on your WordPress blog you need to log into the admin panel (/wp-admin) and navigate to permalinks which live under Settings > Permalinks as shown below.
Once you are on the permalink page it should look similar to this.
Simply hit save, this should automatically update your .htaccess file and fix the 404 errors.
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.