How to fix 404 page not found error on WordPress
WordPress is most used CMS in the world and indeed the most powerful as well. Usually the 404 page not found error occurs if you mess with website settings or some other plugin modifies them. It is better to ask for WordPress.org support if you couldn’t figure out the issue. Page not found error is the most common error WordPress users face and it is commonly caused on custom post types or posts created via a plugin. In this article I will show you how to fix this error in simple.steps.
Usually with this error you will be able to access your admin page and your posts data will be safe only they become inaccessible because in your server there is a file called .htaccess which handle the route of your website and send the visitors to proper place when they click on a link. The 404 page not found error occurs when .htaccess file is either got deleted or modified by some plugin or theme.
To reset your .htaccess file Go to Settings > Permalinks and select the Post Name and then click on Save Changes.
Saving your permalinks structure will reset your permalinks and fix the 404 page not found error.
If this does not fix the error then you probably need to fix it by replacing the .htaccess file with default one.
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Log onto your website server using FTP like FileZilla and open your WordPress root folder. It will be the folder containing other folders names wp-content and wp-admin. Find .htaccess file open it to edit paste the above code replacing existing code save the file and your error will be fixed.