My sitemap in Google is coming back with an error
-
I submitted my xml sitemap to Google Webmaster tools. It is giving an error, not found. 404 Error. But I can't figure out why my site map is signaling a 404. Why?
-
It's always a good idea to include the directive in the robots.txt anyway, Courtney, so I'd say yes.
If typing the address in your browser works, but putting in that exact same address in GWT results in 404, then I'm stumped. Only thing i can figure is your WMT is experiencing a glitch and you might want o report it in the Google Webmaster forums.
If you want to send the site URL by personal message here I can take a last look.
Paul
-
The address does work in typed into the browser. And I did use an installed plugin to create the sitemap.
So if the address works, do you think my next step is to add the robots.txt?
Courtney
-
Just because your site has a sitemap doesn't mean it's guaranteed to be located at www/yoursite.com/sitemap.xml, Courteney. What happens when you actually type www.yoursite.com/sitemap.xml in your browser's address bar? I'm betting you'll get a 404, which means your sitemap isn't located/named what you think it is.
Many WordPress plugins that automatically create xml sitemaps don't put them in the expected standard location with the standard file name! For example, Yoast's WordPress SEO plugin creates its xml sitemap at www.yourdomain.com/sitemap_index.xml. It looks close, but its not the same.
Double check the sitemap plugin you're using to confirm where it's writing the xml file and then use that address to submit it to both Google and Bing Webmaster Tools.
It's also best practice to add a directive to the robots.txt file at the root of your site pointing to the correct sitemap.xml location as well. Just add this line at the bottom:
Sitemap: http://www.yoursite.com/actualsitemapfilename.xml
That address'll be the same one that you were able to successfully submit to GWT.
Does all that make sense?
Paul
P.S. One extra thought, since you mention that this is your first WordPress build. WP doesn't automatically create an xml sitemap for you - you'll have to have installed a plugin or used a 3rd-party tool to do that for you. Sorry if that's obvious to you, but wanted to cover all the bases
-
I agree if the page is live in your browser (xml version) then Google should be able to crawl it.
-
Hi Courtney,
Are you suggesting that the sitemap itself is 404ing OR webmasters is in indicating your site has 404's of page that exist on your sitemap?
If it's the sitemap itself, can you navigate to it directly? Does it render in a browser?
If it's an error from a page on the sitemap, and the page currently renders there is a good chance it didn't at some stage. If that's the case you can ask google to recrawl it as an individual page, see;
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1352276
Hope this helps.
Dan
-
It is the .xml. Any other ideas? Totally stuck....(first wordpress site I have built)
-
You have to submit the .XML version and it has to be live in your directory on your server.
on our site ie:
The page for users: http://www.boastingbiz.com/sitemap
The page for the Spiders: http://www.boastingbiz.com/sitemap.xml <--- Submit the .xml from wherever you place it on your server.
hope this helps.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Sitemap Rules
Hello there, I have some questions pertaining to sitemaps that I would appreciate some guidance on. 1. Can an XML sitemap contain URLs that are blocked by robots.txt? Logically, it makes sense to me to not include pages blocked by robots.txt but would like some clarity on the matter i.e. will having pages blocked by robots.txt in a sitemap, negatively impact the benefit of a sitemap? 2. Can a XML sitemap include URLs from multiple subdomains? For example: http://www.example.com/www-sitemap.xml would include the home page URL of two other subdomains i.e. http://blog.example.com/ & http://blog2.example.com/ Thanks
Technical SEO | | SEONOW1230 -
Increase in Crawl Errors
I had a problem with a lot of crawl errors (on Google Search Console) a while back, due to the removal of a shopping cart. I thought I'd dealt with this & Google seemed to agree (see attached pic), but now they're all back with a vengeance! The crawl errors are all the old shop pages that I thought I'd made clear weren't there anymore. The sitemaps (using Yoast on Wordpress to generate these) all updated 16 Aug but the increase didn't happen till 18-20. How do I make it clear to Google that these pages are gone forever? Screen-Shot-2016-08-22-at-10.19.05.png
Technical SEO | | abisti20 -
Increase in Not Found Errors
Hello All, Looking for input on an issue I am having. We used to have a website www.gazaro.com. It was a price comparison engine for consumers. A shift in the focus of the business resulted in www.360pi.com - a price intelligence tool for retailers.The two websites have similar themes, so I thought it would be valuable to pass SEO juice from the old domain to the new domain.Back in August, I noticed that Gazaro was redirected to 360pi with a meta refresh. I know a 301 redirect is preferable to a meta refresh, so we switched to a 301 redirect.Since that happened, there has been a spike in 404 errors in webmaster tools. If you hover over the url, it is actuallywww.360pi.com/deal/amazon etc etc. It is looking for gazaro urls on the 360pi domain - which don't exist. I think this is hurting our homepage ranking. Our homepage no longer ranks for "price intelligence" when it used to be in pos. 4 or 5. As it turns out, we are ranking #1 for "price intelligence" but with our product page.I'm wondering why the 404 are happening. Is something setup in correctly? Or should I have them switch back to a meta refresh.Thoughts? Thanks for your helpPNM1cYO PNM1cYO
Technical SEO | | AmandaHorne0 -
Are mobile annotation in PC xml sitemaps a replacement for mobile xml sitemaps?
These two links confused me as to what I should do... https://developers.google.com/webmasters/smartphone-sites/details https://support.google.com/webmasters/answer/34648?hl=en
Technical SEO | | JasonOliveira0 -
How to rank in Google Places
Normally, I don't have a problem with local SEO (more of a multi-channel sort of online marketing guy) but this one has got me scratching my head. Look at https://www.google.co.uk/search?q=wedding+venues+in+essex Theres two websites there (fennes and quendon park) that both have a much more powerful DA but don't appear in the Google Places (Google + Business or whatever it's labeled as). Why are websites such as Boreham house ranking top in the map listings? Quendon Park has a Google places listing, it's full of content, the NAP all matches up. Its a stronger website. Boreham House isn't any closer to the centroid than Quendon Park Just got me struggling this one
Technical SEO | | jasonwdexter0 -
Closed Address Google Local
While there are some older conversations pertaining to Google Local/Plus, I am not sure if issue is a bit different. The company I work for at one time had two locations. Both are brick & mortar, physical locations. The factory closed several years ago. To my surprise, the old location is coming up in a few Google searches as a Google Plus page (actually just located it toward the end of last week.) It is currently unclaimed. There are a handful of citations out on the web as well. To remove the factory listing (the one we don't want, which I am pretty sure is confusing Google), what is the best approach? Remove/update citations for the old listing? And then claim it and suspend it using our Google Places account? It took a while to claim the listing we actually want and I just want to be sure we handle removing the old one correctly. Any insight or advice is appreciated!
Technical SEO | | SEOSponge0 -
What does this error mean?
We recently merged our Google + & Google Local pages and sent a request to Webmaster tools to connect the Google + page to our website. The message was successfully sent. However, when clicking the 'Approve or reject this request' link, the following error message appears: 'Can't find associate request' Anyone know what we are doing incorrectly? Thanks in advance for any insight.
Technical SEO | | SEOSponge0 -
Influencing Google Instant Preview
Hello there! I have been looking at how our articles are shown in Google Instant Previews. While the description in the SERPs picks up the first paragraph from the article from the main table/div body, the Instant Preview highlights a text ad in the top right of the side column. According to Google https://sites.google.com/site/webmasterhelpforum/en/faq-instant-previews Q: How can I influence the text highlighted in the preview image?
Technical SEO | | CleverPhD
A: The highlighted text is automatically chosen based on the user's search query. Only text that is visible on the page can be selected for highlighting. Google is highlighting the same block of text from an ad space over and over again. "Download our Free Guide ...." vs the first paragraph in the article. Any ideas folks?0