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
-
Spotify XML Sitemap
All, Working on an SEO work up for a Spotify site. Looks like they are using a sitemap that links to additional pages. A problem, none of the links are actually linked within the sitemap. This feels like a strong error. https://lubricitylabs.com/sitemap.xml Thoughts?
Intermediate & Advanced SEO | | dmaher0 -
How to improve or fix my website ? for an unknown reason bad ranks on Google
Hello, I know that I need to have good quality backlinks, and I am getting backlinks sometime more sometime less. but that is not a problem at this moment i belive. So I am asking someone who can help me and check my website MajorDroid and tells me how can I improve or fix my problem if there is a problem. Because I am very sad when I see this for example: if you search for keyword: oukitel k3 review my website is at page 3, but at same time on page 1 there are only three relevant results, and all other results on page 1 are only partial like OUKITEL K3 Specs Confirmed.... and they are not relevant for users... because they are looking for review. I have the same problem with other keywords also where my page is on second page or third page of Google... and again some other websites with only partial keyword are on first page.... and google claims to offer relevant info for users... now i do not know how google looks my website, or where is the problem ? why quite often my website ranks on second page or third page although competition is not great, and google shows only several relevant results on first page... for example this is review for oukitel k3 I hope you can help me Thank you
Intermediate & Advanced SEO | | zgb0 -
Fix Google Index error
I changed my blog URL structure Can Someone please let me how to solve this?
Intermediate & Advanced SEO | | Michael.Leonard0 -
Sitemap into SE
Hi Moz community experts, I have a question about the sitemap into search engine like here : http://i.imgur.com/gQ0JhuH.jpg. Do you know what I need to do to get the same structure or do decide which pages we want to present into our result. We created a new page and we would like to see it into the resultat when the visitor is searching for our branded keywords. Thank in advance for your support. gQ0JhuH.jpg.
Intermediate & Advanced SEO | | johncurlee0 -
Sitemap error
Hey Guys Everytime I run the tester through google webmaster tools - I keep getting an error that tells me "Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead." An idea how to go about fixing this without changing the site around? https://www.zenory.co.nz/sitemap I have seen competitors sitemaps look similar to mine. Cheers
Intermediate & Advanced SEO | | edward-may0 -
Mobile Sitemap Issue
Hi there, I am having some difficulty with an error on Webmaster Tools. I'm concerned with a possible duplicate content penalty following the launch of my mobile site. I have attempted to update my sitemap to inform Google that a different mobile page exists in addition to the desktop page. I have followed Google's guidelines as outlined here:
Intermediate & Advanced SEO | | DBC01
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=34648 I'm having problems with my sitemap.xml file. Webmaster tools is reporting that it is not able to read the file and when I validate it I am getting an error stating that the 'Namespace prefix xhtml on link is not defined'. All I am trying to do is to create a sitemap that uses the rel="alternate" to inform Google that their is a mobile version of that specific page in addition to the desktop version. An instance of the code I am using is below: xml version="1.0" encoding="UTF-8"?> xml-stylesheet type="text/xsl" href="gss.xsl"?> <urlset< span="">xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> http://www.mydomain/info/detail/ <xhtml:link< span="">rel="alternate" media="only screen and (max-width: 640px)" href="http://m.mydomain.com/info/detail.html"/> <lastmod></lastmod>2013-02-01T16:03:48+00:00<changefreq></changefreq>daily0.50</xhtml:link<></urlset<> Any help would be much appreciated. Thanks0 -
Should i remove sitemap from the mainsite at a webshop (footer link) and only submit .XML in Webmaster tools?
Case: Webshop with over 2000 products. I want to make a logical sitemap for Google to follow. What is best practice at this field? Should i remove the on-page sitemap there is in html with links (is shown as a footer link called "sitemap") and only have the domain.com/sitemap.xml ? Links for great articles about making sitemaps are appreciated to. The system is Magento, if that changes anything.
Intermediate & Advanced SEO | | Mickelp0 -
Google Webmaster Tools Sitemap errors for phantom urls?
Two weeks ago we changed our urls so the correct addresses are all lowercase. Everything else 301 redirects to those. We have submitted and made sure that Google has downloaded our updated sitemap several times since. Even so, Webmaster Tools is reporting 33000 + errors in our sitemap for urls that are no longer in our sitemap and haven't been for weeks. It claims to have found the errors within the last couple of days but the sitemap has been updated for a couple of weeks and has been downloaded by Google at least three times since. Here is our sitemap: http://www.aquinasandmore.com/urllist.xml Here are a couple of urls that Webmaster Tools says are in the sitemap: http://www.aquinasandmore.com/catholic-gifts/Caroline-Gerhardinger-Large-Sterling-Silver-Medal/sku/78664
Intermediate & Advanced SEO | | IanTheScot
Redirect error unavailable
Oct 7, 2011
http://www.aquinasandmore.com/catholic-gifts/Catherine-of-Bologna-Small-Gold-Filled-Medal/sku/78706
Redirect error unavailable
Oct 7, 20110