by SkiBum
3 replies
I noticed in looking at my backlinks that for my homepage, about 70% of the links are associated with one version of the URL and 30% are associated with a different version of the URL

I know I have to add redirect code to the htaccess file, but I need help with what the correct code is.

What would be the correct syntax to redirect the 30% of links point) to 70% of links currently point)

Also does the www matter, so if I do the above redirect, and someone types in, is it also redirected to or do I have to add an individual redirect for that.

Thanks Much For The Help.
#question #redirect
  • Profile picture of the author mojojuju
    Put this in your .htaccess:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^ [NC]
    RewriteRule ^(.*)$$1 [L,R=301]


    {{ DiscussionBoard.errors[1877438].message }}

Trending Topics