Moving from NON WWW to WWW site maps

Discussion in 'Google' started by JBDK, Apr 20, 2007.

  1. #1
    I have been using Google Sitemap since about last September. When I created a sitemap, I would use domain. com, with out the www.

    Reason for this is that I created a webpage, but I used www and non-www for different things, biggest being a stripped down page if you use non-www.

    So, if you are on www. domain. com, you get the fancy javascript, more links, more images, etc. If you use domain.com (non-www), it is the same content, but without all the fancy BS.

    I did this so search engines would index the non-www version so it would be easier on the robot. It seemed to work, but lately are traffic from google is dropped substantially

    Well, it looks like that google has been giving our www version of the pages better position and higher page ranking. The same page would have a PR of 5 for the www version and the a PR of 0 for the non-www version.

    www. domain. com/hello.htm - PR5
    domain. com/hello.htm - PR0

    Now, what I would like to do is to concentrate on just a www version of the page and clean up the page its self for search engines and maybe even users. But, I have been using the non-www url in my site maps and I do have backlinks in google for them

    I see where I can change it in the site map administrator and I would like to set it to associate with the WWW urls. I have about 9000 pages with 272,000 internal links under non-www.

    If I change that, would that kill me? If google tries to fetch the non-www, should I put a 301 header in the coding with the non-www, directing it to the www version?

    I can do the following, in ColdFusion:

    <cfif left(cgi.server_name,3) does not contain "www">
    <cfheader statuscode="301" statustext="Moved permanently">
    <cfheader name="Location" value="www. domain. com">
    <cfabort>
    </cfif>

    Any thoughts?

    Big thanks in advance...

    JB
     
    JBDK, Apr 20, 2007 IP