How do I fix my sitemap?
-
I have no idea how this happened, but our sitemap was http://www.kempruge.com/sitemap.xml, now it's http://www.kempruge.com/category/news/feed/ and google won't index it. It 404's. Obviously, I had to have done something wrong, but I don't know what and more importantly, I don't know how to find it in the backend of wordpress to change it. I tried a 301 redirect, but GWT still 404'd it. Any ideas? And, it's been like this for a few weeks, I've just neglected it, so I can't just reset the site without losing a lot of work.
Thanks,
Ruben
-
Hey Paul,
I'm attaching a screenshot of the "Location of your sitemap file." I think these settings - which I didn't change - are correct. But, if I need to change something here, please let me know.
Thanks for help! I really have no idea what I did to cause this problem, but I guess, as long as it gets fixed, that's all that matters.
Best,
Ruben
-
Before you dump the plugin, Ruben, check in the plugin's settings for whether the location has somehow inadvertently been changed.
Under the Settings link in your WP Dashboard sidebar, there should be an entry for XML Sitemap (the plugin's settings)
On the settings page, there should be a spot to define where the sitemap should be located. If there is, and that location has somehow defaulted to the category feed, you should be able to change the location designation back to the correct /sitemap.xml location. (In the XML Sitemap Generator plugin I suspect you're using, the settings are in the 5th section down titled Location of your sitemap file.)
Does that work?
Paul
-
It's a plugin, but it's not Yoast. We use All-in-one SEO, and then a separate one for the sitemap. However, that does help me. I could always just uninstall the sitemap plugin and redo it. That might work. Thank you all for helping me flush that out. I do appreciate it.
Best,
Ruben
-
The best way to deal with sitemaps on wordpress is to simply use a plugin. I can recommend the yoast seo plugin which has a built in sitemap feature or I have more recently been using the "google xml sitemap" plugin. Both will work fine. Both update automatically. So no need to update it manually. yoast creates a link to your sitemap link such (yourwebsite.com/sitemap-index.xml) and the other plugin creates one like this(yourwebsite.com/sitemap.xml). once your sitemap is created there they both offer a link to it and you can copy the link and submit it to GWT.
I don't really know how your sitemap got messed up but i hope that the info above can make your life a little easier down the road. if you decide to use one of the plugins, you won't have to worry about that problem again.
Good luck.
-
It looks like your sitemap.xml has been moved from that location or deleted. Did you create this manually or are you using a plugin to create the sitemap.xml? If so which one?
-
Hi Guys,
I personally believe in updating a sitemap often so that any changes made in your website are reflected in you Google sitemap which keeps them up to date, and you will see Google's spiders hitting your site for the new data.
Use a sitemap generator like Screaming frog which may be downloaded for free here: http://www.screamingfrog.co.uk/seo-spider/
Generate your new sitemap.xml file (which is something you could do on a regular basis), then upload it to a place of your choosing. Now in Google Webmaster Tools list your new sitemap.xml file and your off and running again. A very simple procedure.
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
-
Changing sitemaps in console
Hi there, Does anyone have any experience submitting a completely new sitemap structure - including URLs - to google console? We've changed our sitemap plug in, so rather than /sitemap-index.xml, our main sitemap home is /sitemap.xml (as an example). Is it better to 410 the old ones or 301 redirect them to the new sitemaps? If 301, what do we do about sitemaps that don't completely correlate - what was divided into item1.xml, item2.xml is now by date so items-from-2015.xml, items-from-2016.xml and so on. On a related note, am I right in thinking that there's no longer a "delete/ remove sitemap" option on console? In which case, what happens to the old ones which will now 404? Thanks anyone for any insight you may have 🙂
Intermediate & Advanced SEO | | Fubra0 -
Hreflang in header...should I do a Sitemap?
A client implemented hreflang tags in the site header. MOZ says you aren't supposed to do an hreflang Sitemap as well. My question is how should I do a Sitemap now (or should I do one at all)?
Intermediate & Advanced SEO | | navdm0 -
Big discrepancies between pages in Google's index and pages in sitemap
Hi, I'm noticing a huge difference in the number of pages in Googles index (using 'site:' search) versus the number of pages indexed by Google in Webmaster tools. (ie 20,600 in 'site:' search vs 5,100 submitted via the dynamic sitemap.) Anyone know possible causes for this and how i can fix? It's an ecommerce site but i can't see any issues with duplicate content - they employ a very good canonical tag strategy. Could it be that Google has decided to ignore the canonical tag? Any help appreciated, Karen
Intermediate & Advanced SEO | | Digirank0 -
XML Sitemaps - Multi-lingual website
Hi Mozzers, I am working with a large website that has some of its content translated across multiple languages. I am planning on using The Media Flow to create an HREFLANG Sitemap for content on various languages. Please see the attached image for the questions below. Thanks! Section Highlighted Yellow: When there is a URL that does not have a translated version, should it not be included on the same HREFLANG sitemap? Alternately, could I just remove the languages that are not being targeted, so this would just reflect English language targeting? fqO9Dvk
Intermediate & Advanced SEO | | J-Banz0 -
XML Sitemap Indexation Rate Decrease
On September 28th, 2013 I saw my indexation rate decrease on my XML sitemap that I've submitted through GWT. I've since scraped my sitemap and removed all 404, 400 errors (which only made up ~5% of the entire sitemap). Any idea why Google randomly started indexing less of my XML sitemap on that date? I updated my sitemap 2 week before that date and had an indexation rate of ~85% - no I'm below 35%. Thoughts, idea, experiences? Thanks!
Intermediate & Advanced SEO | | RobbieWilliams0 -
Old deleted sitemap still shown in webmaster tools
Hello I have redisgned a website inl new url structure in cms. Old sitemap was not set to 404 but changed with new sitemap files,also new sitemap was named different to old one.All redirections done properly Still 3 month after google still shows me duplicate titile and metas by comparing old and new urls I am lost in what to do now to eliminate the shown error. How can google show urls that are not shown in sitemap any more? Looking forward to any help Michelles
Intermediate & Advanced SEO | | Tit0 -
Xml sitemap advice for website with over 100,000 articles
Hi, I have read numerous articles that support submitting multiple XML sitemaps for websites that have thousands of articles... in our case we have over 100,000. So, I was thinking I should submit one sitemap for each news category. My question is how many page levels should each sitemap instruct the spiders to go? Would it not be enough to just submit the top level URL for each category and then let the spiders follow the rest of the links organically? So, if I have 12 categories the total number of URL´s will be 12??? If this is true, how do you suggest handling or home page, where the latest articles are displayed regardless of their category... so I.E. the spiders will find l links to a given article both on the home page and in the category it belongs to. We are using canonical tags. Thanks, Jarrett
Intermediate & Advanced SEO | | jarrett.mackay0 -
Online Sitemap Generator
I have a site that has around 5,000 pages now. Are there any recommened online free/paid tools to generate a sitemap for me?
Intermediate & Advanced SEO | | rhysmaster0