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
-
Any excellent recommendations for a sitemap.xml plugin?
Hi, I'm trying to find a sitemap generator/plugin that I can point my client to. My client is using Magento, and is one of the largest sports store i Norway (around 20 000 products). I've heard there's one that can set the <priority>according to page views, sold units, and other relevant parameters, and that also takes care of the other elements in the sitemap.xml.</priority> Any good recommendations out there? 🙂
Intermediate & Advanced SEO | | Inevo0 -
301's - Do we keep the old sitemap to assist google with this ?
Hello Mozzers, We have restructured our site and have done many 301 redirects to our new url structure. I have seen one of my competitors have done similar but they have kept the old sitemap to assist google I guess with their 301's as well. At present we only have our new site map active but am I missing a trick by not have the old one there as well to assist google with 301's. thanks Pete
Intermediate & Advanced SEO | | PeteC120 -
Best Way To Go About Fixing "HTML Improvements"
So I have a site and I was creating dynamic pages for a while, what happened was some of them accidentally had lots of similar meta tags and titles. I then changed up my site but left those duplicate tags for a while, not knowing what had happened. Recently I began my SEO campaign once again and noticed that these errors were there. So i did the following. Removed the pages. Removed directories that had these dynamic pages with the remove tool in google webmasters. Blocked google from scanning those pages with the robots.txt. I have verified that the robots.txt works, the pages are longer in google search...however it still shows up in in the html improvements section after a week. (It has updated a few times). So I decided to remove the robots.txt file and now add 301 redirects. Does anyone have any experience with this and am I going about this the right away? Any additional info is greatly appreciated thanks.
Intermediate & Advanced SEO | | tarafaraz0 -
I have two sitemaps which partly duplicate - one is blocked by robots.txt but can't figure out why!
Hi, I've just found two sitemaps - one of them is .php and represents part of the site structure on the website. The second is a .txt file which lists every page on the website. The .txt file is blocked via robots exclusion protocol (which doesn't appear to be very logical as it's the only full sitemap). Any ideas why a developer might have done that?
Intermediate & Advanced SEO | | McTaggart0 -
How can I fix "Too Many On Page Links"?
One of the warnings from SEO Moz says that we have "too many on page links" on a series of pages on my website. The pages it's giving me these warnings on are on my printing sample pages. I'm assuming that it's because of my left navigation. You can see an example here: http://www.3000doorhangers.com/door-hanger-design-samples/deck-and-fence-door-hanger-samples/ Any suggestions on how to fix this warning? Thanks!
Intermediate & Advanced SEO | | JimDirectMailCoach0 -
Broken sitemaps vs no sitemaps at all?
The site I am working on is enormous. We have 71 sitemap files, all linked to from a sitemap index file. The sitemaps are not up to par with "best practices" yet, and realistically it may be another month or so until we get them cleaned up. I'm wondering if, for the time being, we should just remove the sitemaps from Webmaster Tools altogether. They are currently "broken", and I know that sitemaps are not mandatory. Perhaps they're doing more harm than good at this point? According to Webmaster Tools, there are 8,398,082 "warnings" associated with the sitemap, many of which seem to be related to URLs being linked to that are blocked by robots.txt. I was thinking that I could remove them and then keep a close eye on the crawl errors/index status to see if anything changes. Is there any reason why I shouldn't remove these from Webmaster Tools until we get the sitemaps up to par with best practices?
Intermediate & Advanced SEO | | edmundsseo0 -
REL canonicals not fixing duplicate issue
I have a ton of querystrings in one of the apps on my site as well as pagination - both of which caused a lot of Duplicate errors on my site. I added rel canonicals as a php condition so every time a specific string (which only exists in these pages) occurs. The rel canonical notification shows up in my campaign now, but all of the duplicate errors are still there. Did I do it right and just need to ignore the duplicate errors? Is there further action to be taken? Thanks!
Intermediate & Advanced SEO | | Ocularis0 -
My blog is showing in search results instead of my homepage and this is fine, but less than ideal. Any idea on how I can fix this?
My blog is showing in search results instead of my homepage and this is fine, but less than ideal. Any idea on how I can fix this?
Intermediate & Advanced SEO | | ChrisClever0