Canonicalization problem

4 replies
  • SEO
  • |
Hi about a week ago started new website with job listings ejobseeker .net/ , ive added few seo links but forget about www . Now google indexed about 10000 pages of my website all without www ,When i noticed that ive set that i prefer www links in google webmaster tools and add .htaccess code

RewriteEngine on
RewriteCond %{http_host} ^mywebsite [nc]
RewriteRule ^(.*)$ mywebsite/$1 [R=permanent,nc,L]
but its not redirecting my home page ,other pages redirect works ok

i have 3 questions for you warriors

1.can you help me and write is home page redirect working for you ??

2.shoud i stay with non www links becouse google is still indexing new non www pages ??

3.Can i somehow force google to start indexing www links ??
#canonicalization #problem
  • Profile picture of the author jeromie
    See if this helps with your home redirect. I had a similar issue as you in that when making my magento site I didnt set the conical url option so google indexed every combination of the page. I corrected the issue and re submitted my site map google seems to dig it now. I would suggest making the changes and letting google naturally catch up.
    {{ DiscussionBoard.errors[6898987].message }}
    • Profile picture of the author jeromie
      sorry.. the forum thought I was posting a link but it was actually the rewrite code so I had to remove it. I need 2 more posts before I can post it
      {{ DiscussionBoard.errors[6899006].message }}
      • Profile picture of the author jeromie
        one more post
        {{ DiscussionBoard.errors[6899039].message }}
  • Profile picture of the author jeromie
    Try this code here

    Code:
    RewriteEngine On RewriteCond %{HTTP_HOST} !^www. RewriteRule ^(.*)$ http:/www. %{HTTP_HOST}/$1 [R=301,L]
    {{ DiscussionBoard.errors[6899118].message }}

Trending Topics