It is not uncommon to be hit by WordPress 404 errors on occasion. This may be triggered after installing or updating a plugin, theme or some unknown reason.
Whatever the cause, this problem is caused by a missing or badly formed .htaccess file located in the document root of your WordPress installation.
The good news is that there is a rather simple fix that can solve this problem.
This problem may almost exclusively happen when the permalink settings have been changed to anything other than the default for SEO purposes.
You always want to use one of the SEO URL friendly permalinks that WordPress provides so restoring and maintaining the default URL pattern may not be ideal and this is why we need this solution.
Fixing the WordPress 404 Errors
Sign in to your WordPress dashboard. navigate to the ‘Settings’ > ‘Permalinks’ Node from the left side menu.
Option 1: Scroll down the page and click on the ‘Save Changes’ button. That should solve your problem.
In the ICT real-world things don’t always work out as expected. If the above step does not work then proceed below.
Option 2: From the same Permalinks page, select the ‘Plain’ radio button option and save the change. Thereafter go back to the previous option and select it the once again save your changes.
Option 3: If the above options do not work you may have to edit the .htaccess file manually. You will need to use an FTP client such as FileZilla to download the .htaccess is a configuration file used by apache-based web servers on all platforms. The term .htaccess is short for Hypertext Access. The file uses formatted rules and directives designed to change the default behavior of the web server or the web applications or websites that are served by that server. Examples of cases where .htaccess can be used include forced... More file. Even though you can create a blank new file, we do not recommend it just in case you have an existing plugin that made additions to this file.
Once you have downloaded this file enter the following code between the
# BEGIN WordPress and
# END WordPress lines.
If they do not exist place it at the end of the file then upload it back to the A server is a computer application program that responds to requests for information from a client in a client/server relationship system. A typical example is a web server or pushing a web page to a web browser or a web server receiving email and transferring it to an email client. A server can also refer to the actual hardware designed... More.
Option 4: If you still have the WordPress 404 errors showing up on every post and page link then you might have to go to the ‘Plugins’ node from the left side menu in the WordPress dashboard.
Disable all plugins and see if it fixes the problem. You may have to repeat Option 1 above after disabling all the plugins.
Activate the plugins one at a time and check the links each time. If a plugin was the culprit the WordPress 404 errors problem should resurface once the offending plugin is reactivated.
You may then have to report the problem to the plugin developers and if possible find a different plugin to replace the buggy one.