Are you getting a mistake on or about your XML sitemap? In this article, we’ve listed the foremost common XML sitemap errors, along side their causes and solutions.
If the ‘Detected’ date isn't today’s date, please test the individual sitemap to verify whether or not the difficulty has been resolved.
My sitemap is not using the URL format. For example, it doesn't include/exclude www or has http rather than https.
The sitemap uses an equivalent protocol because the WordPress Site URL.
Go to Admin > Settings > General and alter the location URLs to the right protocol. If you've got recently switched your URL format, you'll have incorrectly formatted URLs in your database. Please backup your database and complete an enquiry and replace of the old to new format.
My sitemap may be a white page or a header with no URLs.
Your file XSLT is unavailable, the XML is incorat invalid, or the “Do not process 404 errors for static objects with WordPress” setting is checked in W3 Total Cache.
Check this page to ascertain which error applies to you, and fix it accordingly.
My sitemap doesn’t work on an Apache server.
Most likely, you haven’t implemented our rewrite rules.
Most likely, you haven’t implemented our rewrite rules.
This article has more avlab advice on troubleshooting the sitemaps on NGINX servers: Yoast XML Sitemaps on NGINX servers
My plugin won’t create a sitemap.
The settings of your permalinks aren’t properly saved.
Go to WordPress ‘Settings’ within the backend attend ‘Permalinks’ Click ‘Save Changes’ (without altering anything)
The sitemap has gray links.
This is how we built it.
Gray links in your sitemap identify indix recently visited URLs in your own browser. Google doesn't see the browser formatting as they retrieve the XML ASCII text file . Learn more during this article about gray links in sitemaps.
My new videos are at rock bottom of my second sitemap.
This is how we built it.
This way only the last video sitemap changes and Google only must re-fetch that one rather than re-fetching all the video sitemaps all the time. The last update time will tell Google what’s new.
My sitemap does not update.
Sometimes the is cache functionality on your site prevents the sitemap from updating automatically.
This article has more advice on the way to tackle this issue: Sitemap doesn't update.
Errors in Google Search Console
Error
Cause
Solution
XML or text declaration not at now start of entity / XML declaration allowed only at the start of the document
There are probably several lines of whitespace preceding the <?xmltag xnlpost
To be sure this is the case, follow the steps on this page. After that, start searching. Something in your WordPress install, either a plugin or your theme is outputting whitespace, and it shouldn’t… It’s not a bug in our plugin. A conflict check may
Unsupported format.
Your file appears to be an xml/HTML page You’re using W3 Total Cache and you’ve ticked the setting to hide the sitemap from normal visitors.
You should create an extra user agent group. You can do that by following the steps on this page.
URL blocked / restricted bay robots.txt
This error appears when Google is unable to crawl the specific URL due to a robots.txt restriction.
Check this page to ascertain which restriction is applied to your site and fix it accordingly.
Your Sitemap & Sitemap index xml file doesn’t properly declare the namespace.
This error can bin appears when something on your site is modifying URLs after the sitemap is generated.
This is virtually impossible for to us to locate or fix as it’s not something controlled by our plugin. See this article for more information.
Missing XML tag. This required tag is missing. Please add it and resubmit.
This error appears when the sitemap contains 0 items.
Please create content for the sitemap. See this article for more information.
General HTTP error:f ile 404 not found
There’s a handful of causes depending on which sitemap displays the error.
If it’s your sitemap index, you ought to follow these steps. If it’s a private sitemap, you ought to follow these steps. If it’s your GEO (Local SEO) sitemap, you ought to follow these steps. If you have a custom post type ‘Video’, add one line of code to your functions.php. If you've got a custom post type ‘News’, add a single line of code to your functions.php.
Unknown add news site
Your website may not be approved for Google News.
Please verify the URL submitted to Google add News exactly matches the URL in your sitemap. If you have not applied for inclusion, please visit the Google News Publisher Center.
Errors in Bing Webmaster Tools
Error
Cause
Solution
Download of the sitemap or feed failed.
The sitemap may not be accessible to Bing.
Use Bing’s Mobile Friendliness Test Tool to ascertain if Bing can read the sitemap. If the tools successfully loads feedback, resubmit the sitemap to Bing. If the tool is not unsuccessful, your site could also be slow or have restrictions set for Bing. Check out the location speed tools we recommend to locate areas where you'll improve your speed. Your web host can also be helpful when a site is slow.
0 Comments: