What is a 404 error and why does it occur?
A 404 error code means that the page cannot be found, most of the time, this is because it simply does not exist. It might have been moved without the correct redirect codes being implemeneted or permanently deleted. However, your XML sitemap failed to update and your page was submitted for indexing anyways; thus, the submitted URL was not found.
How to fix submitted URL not found in WordPress?
The solution to this issue depends on whether the URL has been moved or deleted.
If the URL has been moved, you will need to set up a 301 redirect. The easiest way to do this is by downloading a redirection plugin on your CMS of choice. If you’re a WordPress user, I’d recommend using Simple 301 redirects.
If, however, the URL has been deleted, you will need to remove it from your XML sitemap. The easiest way to do this is by using the Yoast SEO plugin. Simply follow these instructions:
- Head to your WordPress dashboard
- On the left hand-side menu, look for the Yoast SEO
- In the sub-menu, select General
- Click on the ‘features’ tab
- Scroll down until you see ‘XML Sitemaps’
- Click on the question mark icon and then click ‘see the XML sitemap’
- From here, it’s as simple as removing the URLs
- Save your changes and Yoast SEO will automatically send your sitemap to Google
If you’ve completed these steps, waited and few days and your sitemap still hasn’t been submitted, you may have to submit it directly to Google yourself via your search console. You can also try updating your plugin or resetting it to ensure that it’s automatically submitted next time.