Problem Statement
Receiving 404 Error on WordPress websiteSolution
An error 404 is generated when requested URL/page cannot be found on server. The WordPress is a content management system that processes its own internal rewrite array as a part of its permalinks feature. so, the first step to troubleshooting 404s is to figure out whether the 404 is being caused by the web server or by WordPress.Check if the requested file/page exists on the server. If it is there, the issue is caused by the WordPress and not the server. WordPress creates a rewrite array that is responsible for managing permalinks. The Improperly coded plugins, custom post types, and taxonomy alterations can break or corrupt the permalink array, thus causing 404s. As a quick fixes, correct the permalinks and re-save it. You should follow the below mentioned steps.
- Log in to WordPress DashBoard.
- From the left-hand navigation menu in WordPress, click Settings > Permalinks (Note the current setting. If you are using a custom structure, copy or save the custom structure somewhere.)
- Select Default.
- Click Save Settings.
- Change the settings back to the previous configuration (before you selected Default). Put the custom structure back if you had one.
- Click Save Settings.
Comment