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
-
Subdomain 403 error
Hi Everyone, A crawler from our SEO tool detects a 403 error from a link from our main domain to a a couple of subdomains. However, these subdomains are perfect accessibly. What could be the problem? Is this error caused by the server, the crawlbot or something else? I would love to hear your thoughts.
Technical SEO | | WeAreDigital_BE
Jens0 -
Image sitemap
I work on a big eCommerce site with thousands of pages. We are talking about crating a separate image sitemap. Any idea example of an eCommerce site who has a separate image sitemap? I looked several and cant find one. Also, what are the best practices for creating a good image sitemap? thanks!
Technical SEO | | bizuH0 -
500 - server error
Hi All, A site crawl reveals several server errors (status code 500) about a clients wordpress website. My question: what are the most common causes for server errors and what advice can I give about how to fix them? Thanks in advance,
Technical SEO | | WeAreDigital_BE
Jens0 -
Duplicate content and 404 errors
I apologize in advance, but I am an SEO novice and my understanding of code is very limited. Moz has issued a lot (several hundred) of duplicate content and 404 error flags on the ecommerce site my company takes care of. For the duplicate content, some of the pages it says are duplicates don't even seem similar to me. additionally, a lot of them are static pages we embed images of size charts that we use as popups on item pages. it says these issues are high priority but how bad is this? Is this just an issue because if a page has similar content the engine spider won't know which one to index? also, what is the best way to handle these urls bringing back 404 errors? I should probably have a developer look at these issues but I wanted to ask the extremely knowledgeable Moz community before I do 🙂
Technical SEO | | AliMac260 -
Coming soon SEO
Hi, I was wondering what is the best practice to redirect all the links juice by redirecting all the pages of your website to a coming soon page. The coming soon page will point to the domain.com, not to a subfolder. Should I move the entire website to a subfolder and redirect this folder to the coming soon page? Thanks
Technical SEO | | bigrat950 -
XML Sitemap Issue or not?
Hi Everyone, I submitted a sitemap within the google webmaster tools and I had a warning message of 38 issues. Issue: Url blocked by robots.txt. Description: Sitemap contains urls which are blocked by robots.txt. Example: the ones that were given were urls that we don't want them to be indexed: Sitemap: www.example.org/author.xml Value: http://www.example.org/author/admin/ My issue here is that the number of URL indexed is pretty low and I know for a fact that Robot.txt aren't good especially if they block URL that needs to be indexed. Apparently the URLs that are blocked seem to be URLs that we don't to be indexed but it doesn't display all URLs that are blocked. Do you think i m having a major problem or everything is fine?What should I do? How can I fix it? FYI: Wordpress is what we use for our website Thanks
Technical SEO | | Tay19860 -
How to fix this 404 : Error ( 4XX (Client Error) )
In my report this indicates 404 : Error http://www.thexxxhouse.com/what_sets_us_aparat.html This web page removed from server .How to fix this in SEO friendly way .
Technical SEO | | innofidelity0 -
Google Webmaster tools error?
So I am trying to set the URL preference in google webmaster tools for my site. However when I try to save it it tells me to verify that I own the site. I have already done this so where can I go to verify I own the site exactly? Maybe I am wrong and I have not done this already but even on the homepage of webmaster tools I don't see an option to "verify".
Technical SEO | | ENSO0