Canonical Issue cannot be solved – Done .htaccess 301 still same problem

Discussion in 'Google' started by sapanbhatt, Jan 9, 2010.

  1. #1
    Hello All,

    Just started facing canonical issues with few of my websites. These sites were working well and are not affected by Canonical they all are properly redirect from non www to www with 301 redirection. And the site still showing this redirection properly but in Google it seems to be doesn’t work.

    When I check site pages with site:www.mysite.net It shows only 13 pages. And when I do search with site:mysite.net it shows me majority of my page i.e. 31 pages. Please suggest me what should I do to remove and set proper redirection.

    This is the htaccess code I am using for redirection

    <--- Code --->
    rewritecond %{http_host} ^mysite.net [nc]
    rewriterule ^(.*)$ http://www.mysite.net/$1 [r=301,nc]
    <--- Code --->

    And one more problem is Google has started crawling odd URLs which is not there on the server. E.g. http://www.mysite.net/page.php/anotherpager.php Which is not an exist on server. The page is page.php and the anotherpager.php is a different page. Again it will start accessing that page from debt counseling page. And showing content of Debt Counseling page by crawling and caching the above URLs. I come to know about such pages when I am checking my site with site operator.

    Any help would be a great help regarding this. How can I solve the canonical issue as well how can I stop robot accessing such pages.
     
    sapanbhatt, Jan 9, 2010 IP
  2. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #2
    Check in Google Webmaster Tools if the settings is to fetch the non www version of your site.

    Site Dashboard > Site Configuration > Settings

    For the second problem, I'd recommend you to use a sitemap.
     
    Abhik, Jan 9, 2010 IP