Redirection Issue, Looking for htt access code

Discussion in 'Search Engine Optimization' started by aansy, Aug 27, 2011.

  1. #1
    hi,

    i own a website and via google webmaster tool i've added both www.mysite.com and mysite.com. and both are directing towards mysite.com but i'm still facing canonicalization issue. is there some kind of code to update the site with, so i can escape from this issue?

    Regards
     
    aansy, Aug 27, 2011 IP
  2. internetlot

    internetlot Greenhorn

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #2
    I didn't understood your question to some extend. Can you Please elaborate a bit?
     
    internetlot, Aug 28, 2011 IP
  3. HostASP

    HostASP Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #3
    do you want to redirect http: //yoursite to http: //www.yoursite ?
     
    HostASP, Aug 28, 2011 IP
  4. aansy

    aansy Active Member

    Messages:
    148
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    50
    #4
    I'm looking to redirect it from //www.mysite to //mysite
     
    aansy, Aug 28, 2011 IP
  5. sowellavena

    sowellavena Greenhorn

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    Just search on google you will find .htaccess code make some changes in that code regarding to your page.
     
    sowellavena, Aug 28, 2011 IP
  6. jessicacrace

    jessicacrace Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    jessicacrace, Aug 28, 2011 IP
  7. HostASP

    HostASP Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #7
    HostASP, Aug 29, 2011 IP
  8. seocatalysts

    seocatalysts Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    you have to add ht-access file on your server and then you have to set proper redirect in Google webmaster if both site has been added already in it.
     
    seocatalysts, Aug 29, 2011 IP
  9. aansy

    aansy Active Member

    Messages:
    148
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    50
    #9
    aansy, Aug 29, 2011 IP
  10. Sonamseo

    Sonamseo Member

    Messages:
    206
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #10
    Check your ".htaccess" file for removing your canonical issues.
     
    Sonamseo, Aug 29, 2011 IP
  11. Fastseo

    Fastseo Active Member

    Messages:
    151
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #11
    The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

    Please REPLACE www.domain.com in the above code with your actual domain name.

    In addition to the redirect I would suggest that you contact every backlinking site to modify their backlink to point to your new website.

    Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
     
    Fastseo, Aug 29, 2011 IP