BANS WordPress Templates
Recent Posts
Tools for Niche Site Success Hostgator Unlimited Hosting

BANS Sitemap Issues - Resolved

June 25, 2008

Hi All -

Lately, if you log into your Google Webmaster tools, you have seen this dreaded warning next to your sitemap file:

All the URLs in your Sitemap have the same priority.
All the URLs in your Sitemap are set to the same priority (not the default priority). Priority indicates the importance of a particular URL relative to other URLs on your site, and doesn’t impact your site’s performance in search results. If all URLs have the same priority, Google can’t tell which are more important.

Sonjay, a Moderator on the BANS forum and Master of Website Design and Development, has written the solution and posted a new sitemap.php file with the fix. You can download the zip version here, and replace the sitemap.php file in to main folder of your bans site.

Mark

Popularity: 8% [?]

If you enjoyed this post, make sure you subscribe to my RSS feed!

Comments

10 Responses to “BANS Sitemap Issues - Resolved”

  1. Alice on June 25th, 2008 11:29 pm

    Wow, I had no idea this was even an issue. Never heard from the BANS folks about it. Thanks Mark!

  2. Costa on June 27th, 2008 3:31 am

    Must we re-submit after replacing the new sitemap?

  3. Cherie on June 27th, 2008 9:05 am

    I’ve redone the sitemap (although I never got “All the URLs in your Sitemap have the same priority.”) But what I do get is “We’ve detected that your 404 (file not found) error page returns a status of 200 (Success) in the header.” if I upload the Google html file.

    Now although I contacted Hostgator who said that I likely need to contact the script authors for a fix along these lines (ie, Kevin & Adam) and that Hostgator weren’t able to fix it, I decided to use the meta tag verification method instead and this works fine. No idea why, but it might be useful for someone if they’re having trouble.

  4. Mark on June 27th, 2008 9:10 am

    @ Costa -

    There should be no need to resubmit the sitemap - Google will find it on their next visit to the xml doc.

    @ Cherie -

    The 404 issue is rather signifigant as we are returning status 200 (Page found and OK) messages to browsers (and search engines) even when a page does not exist.

    I have contacted Kelvin about it as well… and I assume there will need to be a code tweak in order to get it returning the proper status codes. It may be something as simple as a change in the htaccess file, but I have not looked into myself yet either.

    Mark

  5. G on June 27th, 2008 10:23 am

    That’s great, thanks for posting it up.

    Had 3 sites showing that error and was starting to worry about it.

  6. Cherie on June 27th, 2008 1:50 pm

    I’ve now had an update from Hostgator to the 404 error and this is their reply:-

    The only other method to produce a proper 404 page that is not our status 200 page would be to set a custom “ErrorDocument” directive for 404 pages in your .htaccess file and have a custom page designed to handle errors. For instance you could create a directory called error and put an httperror.php script in there to handle errors, and then add the following directive to your .htaccess file to pass errors to this page :

    ErrorDocument 404 /error/httperror.php

    So this may help further

  7. Steve on July 2nd, 2008 12:33 am

    Hi all,

    Could someone explain further this 404 issue please?

  8. Marilla on July 2nd, 2008 12:00 pm

    thanks, Mark - done!

  9. Dean on July 2nd, 2008 11:23 pm

    Help!

    I’ve updated the sitemap.php file on two of my sites and now all of my sites are returning a 500 internal sever error message.

  10. Dean on July 2nd, 2008 11:46 pm

    Nevermind, it worked, but Hostgator just happened to go down at the same time. They came back a few minutes later. Talk about scaring the hell out of me!

Got something to say?





Subscribe to The Niche Store Builder Site

Subscribe to the Niche Store BuilderDon't miss a single post about Developing your Niche Store or Website! Subscribe today and start Making Money!

Featured Links and Resources

I'm such a Twit for Tweets

Posting tweet...

Top Niche Builder Commentators

Last 10 Comments

Blogroll

Niche Builder Categories