Sitemap error
-
Hi,
When i search for my blog post in google i get sitemap results, and when i click on it i get an error, here is the screen shot
http://screencast.com/t/lXOIiTnVZR1
http://screencast.com/t/MPWkuc4Ocixy
How can i fix that, it loos like if i just add www. it work just fine.
Thanks
-
It depends on whether you use Apache or IIS to manage your website.
Here is an example of what you'd use if you have IIS 7:
<code><system.webserver><rewrite><rules><rule name="Force www" stopprocessing="true"><match url="(.*)"><conditions><add input="{HTTP_HOST}" pattern="^site\.com$"></add></conditions> <action type="Redirect" url="<a" href="http://www.site.com/{R:1}">http://www.site.com/{R:1} redirectType="Permanent" /></action></match></rule></rules></rewrite></system.webserver></code>
This shows what you'd use for Apache (at least I think... I use personally use IIS):
http://stackoverflow.com/questions/4907348/force-www-via-htaccess
And once you have one of these in place, you will also want to configure your Google Webmaster Tools to specify your preferred domain (Configuration > Settings > Preferred domain > Display URLs as www.YOURSITE.com).
This is technically a 301 permanent redirect, so if you have any other links on the web that point to the non-www version, they will be redirected to the correct www version - since there is a redirect at play here, it would not pass the full amount of link juice. But like I said in my previous post, it appears that you only have 1 link pointing to the incorrect version. So, you will actually be fixing a broken link by doing this. In theory, your www version will be gaining some of the link juice that the non-www version was previously receiving.
This is also going to provide your users with a better experience as well... which is nice
Make sense?
Mike
-
Hi Mike,
How can i set up a rewrite option? does it hurt my rankings ?
Thanks for help!
-
Hi Tony,
You could setup a rewrite to always force the use of WWW when a user or crawler accesses your site without the use of WWW.
Depending on whether you use IIS or Apache, it will be different.
I did a quick look at your site and it looks like all of your absolute paths are correct with using WWW; however, if you use OPENSITEEXPLORER.org for http://asggutter.com/sitemap.xml you will notice that it has one linking domain: http://iwebchk.com/reports/view/asggutter.com#.UTDhWzA4tqk
I am guessing that Google is crawling iwebchk.com and is getting the non-WWW version of your sitemap from this website. If you Google the iwebchk.com URL above, you will notice that it has a date of Jan 16, 2013, so it must of cataloged this incorrectly somewhat recently.
You could also maybe try contacting iwebchk.com and asking if they would correct the sitemap URL on their website - but the rewrite to force WWW would probably be easier.
Good luck,
Mike
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
-
Does anyone know the linking of hashtags on Wix sites does it negatively or postively impact SEO. It is coming up as an error in site crawls 'Pages with 404 errors' Anyone got any experience please?
Does anyone know the linking of hashtags on Wix sites does it negatively or positively impact SEO. It is coming up as an error in site crawls 'Pages with 404 errors' Anyone got any experience please? For example at the bottom of this blog post https://www.poppyandperle.com/post/face-painting-a-global-language the hashtags are linked, but they don't go to a page, they go to search results of all other blogs using that hashtag. Seems a bit of a strange approach to me.
Technical SEO | | Mediaholix0 -
How to fix an 803 error?
Error Code 803: Incomplete HTTP Response Received How can I fix this error?
Technical SEO | | netprodjb0 -
Remove sitemap, effect ranking?
We are considering to remove our sitemap because it doesn't display the right structure. Will it affect current rankings if we remove the sitemap en continuing without a sitemap? Thanks
Technical SEO | | rijwielcashencarry0400 -
Not All Submitted URLs in Sitemap Get Indexed
Hey Guys, I just recognized, that of about 20% of my submitted URL's within the sitemap don't get indexed, at least when I check in the webmaster tools. There is of about 20% difference between the submitted and indexed URLs. However, as far as I can see I don't get within webmaster tools the information, which specific URLs are not indexed from the sitemap, right? Therefore I checked every single page in the sitemap manually by putting site:"URL" into google and every single page of the sitemap shows up. So in reality every page should be indexed, but why does webmaster tools shows something different? Thanks for your help on this 😉 Cheers
Technical SEO | | _Heiko_0 -
During my last crawl suddenly no errors or warnings were found, only one, a 403 error on my homepage.
There were no changes made and all my old errors dissapeard, i think something went wrong. Is it possible to start another crawl earlyer then scheduled?
Technical SEO | | KnowHowww0 -
DNS error on webmaster tool
Google webmaster tool is showing DNS error and that is leading to many server error (502,500) almost 50+ in every crawl. Recently Google crawled one of our sub domains that we did not want google to crawl. We blocked it via Robots.txt and also removed all the URL's and since then we are having this issue. Any suggestions how to fix this DNS error? Thanks in advance.
Technical SEO | | tpt.com0 -
Locating 404 Page Errors for Deletion
On my SEOmoz report, there are several 404 pages that I assume need deletion. Yes? When I am looking at my pages from the back-end of WordPress, how do I identify these to delete or fix them? In the list of pages I have created, it is not at all apparent when I click into "edit" the page that any of these are broken pages. I think the 404 pages are urls from pages that I changed the url to be more seo friendly, but they don't really exist. I hope this makes sense - it is baffling to me : ) Thank you for any insight and help with getting these cleared. The errors are listed below from the report. Sheryl | 404 : Error http://durangocodentists.com/durango-dentists-why-greg-mann/dentists-in-durango-co/Cosmetic_Dentistry_Services_Teeth_Whitening_Montezuma_CO.html 404 1 0 404 : Error http://durangocodentists.com/durango-dentists-why-greg-mann/dentists-in-durango-co/General_Dentistry_Services_White_Fillings_Montezuma_CO.html 404 1 0 404 : Error http://durangocodentists.com/durango-dentists-why-greg-mann/dentists-in-durango-co/Request_an_Appointment.html 404 1 0 404 : Error http://durangocodentists.com/videos/repairing-teeth/pid%3A4078865 404 1 0 404 : Error http://durangocodentists.com/videos/teeth-whitening/pid%3A4078865 404 1 0 404 : Error http://durangocodentists.com/videos/veneers/pid%3A4078865 | 404 | 1 | 0 |
Technical SEO | | TOMMarketingLtd.0 -
When is the best time to submit a sitemap?
What changes to a website constitute resubmitting a sitemap? For example, if I add new in-site links, should I then resubmit? Or is it more for changes to URLs, Page titles, etc?
Technical SEO | | MichaelWeisbaum0