How is PR shared with Sub-Domains??

Discussion in 'Google' started by dfsweb, Jan 16, 2005.

  1. dchoe

    dchoe Active Member

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #21
    how can i do this for my site? i assume it's just a line i have to add to my .htaccess file
     
    dchoe, Jan 19, 2005 IP
  2. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #22
    To redirect a single page, put this in the .htaccess file:
    Redirect 301 /oldpage.html http://www.yoursite.com/newpage.html
    Code (markup):
    or
    Redirect permanent /oldpage.html http://www.yoursite.com/newpage.html
    Code (markup):
    This will redirect ALL pages from your old site to the new site:

    redirect 301 / http://www.yourdomain.com/
    Code (markup):
     
    minstrel, Jan 20, 2005 IP
  3. Catfish

    Catfish Peon

    Messages:
    117
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #23
    I just did that a couple days ago for one of my sites and Google processed it prefectly. I saw a drop in listings because someone had linked to one of my subdomains using www.sub.domain.com . Google started using it instead of just sub.domain.com and I fell a few spots. Put up the 301 and now everything is back to normal including my number one listing :)
     
    Catfish, Jan 20, 2005 IP
  4. dchoe

    dchoe Active Member

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #24
    i couldn't get the 301 to work exactly like i wanted, but i was able to get it working with a rewriterule
     
    dchoe, Jan 20, 2005 IP