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
-
Automate XML Sitemaps
Quick question, which is the best method that people have for automating sitemaps. We publish around 200 times a day and I would like to make sure as soon as we publish it gets updated in the site map. What is the best method of updating a sitemap so it gets updated immediately after it is published.
Technical SEO | | mattdinbrooklyn0 -
Getting error in webmasters
My site was running perfectly from last one year... I don't know what happened now google is showing error while I am trying to use fetch option in webmasters. http://prntscr.com/6mtud5
Technical SEO | | Srinu0 -
How Google sees my page
When looking for crawlability issues, what is the difference between using webmaster tools Fetch as google, looking at the cached pages in google index site:mypage.com, or using spider simulator tools.
Technical SEO | | shashivzw0 -
Paid Links - How does Google classify them?
Greetings All, I have a question regarding "Paid Links." My company creates custom websites for other small businesses across the country. We always have backlinks to our primary website from our "Dealer Sites." Would Google and other search engines consider links from our "dealer sites" to be "paid links?" Example:
Technical SEO | | CFSSEO
http://www.atlanticautoinc.com/ is the "dealer site." Would Google consider the links from Atlantic Auto to be a "paid link," and therefor have less of an impact for page rankings, due to it not being organic? Any insight on this matter would be greatly appreciated. Thank you!!!0 -
Google not indexing my website
Hi guys, We have this website http://www.m-health-expo.nl/ but it is not indexed by google. In webmaster tools google says that it can not fetch the site due to the robots.txt but i do not see any faults in it. http://www.m-health-expo.nl/robots.txt Do you see something strange, it really bothers me.
Technical SEO | | RuudHeijnen0 -
Homepage disappeared from Google Serp
I redirected my domain using this code in .htaccess : RewriteCond %{HTTP_HOST} ^xxxx.com
Technical SEO | | digitalkiddie
RewriteRule (.*) http://www.xxxx.com/$1 [R=301,L]
<ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]/)index.(html?|php)(?[^\ ])?\ HTTP/
RewriteRule ^(([^/]/)*)index.(html?|php)$ http://www.xxxx.com/$1 [R=301,L]</ifmodule> A day after I did it, got an error in GWMT "Google can't find your site's robots.txt" and my homepage disappeared from the result pages. When I try to open Google cache of the homepage I got an error 404. I generated new robots.txt, uploaded it , now the error doesnt show but still my homepage is not in the serps. Its been 3 days. What should I do ? Thanks in advance "Google can't find your site's robots.txt" error? - Pro ...0 -
Google webmaster errors
**If you know what these google webmasters errors mean, and you can explain it to me in simple english and tell me how I can locate the problem, I would really appreciate it!. <colgroup><col width=""><col width=""><col width=""><col width=""><col width="*"><col width="124"><col width="54"></colgroup>
Technical SEO | | Joseph-Green-SEO
| | | | | Server error | | | | Soft 404 | | | | Access denied | | Not found | | | Not followed | | | |** I have many of these errors, is it harming SEO?Yoseph0 -
Google is indexing my directories
I'm sure this has been asked before, but I was looking at all of Google's results for my site and I found dozens of results for directories such as: Index of /scouting/blog/wp-includes/js/swfupload/plugins Obviously I don't want those indexed. How do I prevent Google from indexing those? Also, it only seems to be doing it with Wordpress, not any of the directories on my main site. (We have a wordpress blog, which is only a portion of the site)
Technical SEO | | UnderRugSwept0