how to make 301 redirrect so pr will be transfered

Discussion in 'Search Engine Optimization' started by slayer, Feb 3, 2007.

  1. #1
    ok guys i read on several websites that if you put a 301 redirect on your website wich has pr(eg:4) the pagerank will be transfered.

    wich is the best way to do this?
    using php or using .htaccess?
    in aprox how much time will the pr be transfered?
    thanx
     
    slayer, Feb 3, 2007 IP
  2. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #2
    Place some code into your .htaccess file.
     
    Richie_Ni, Feb 3, 2007 IP
  3. slayer

    slayer Well-Known Member

    Messages:
    1,926
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    165
    #3
    well i would appreciate if you could help me out with that some code :\
     
    slayer, Feb 3, 2007 IP
  4. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #4
    Redirect 301 /old/old.htm http://www.you.com/new.htm
    Code (markup):
     
    Richie_Ni, Feb 3, 2007 IP
  5. slayer

    slayer Well-Known Member

    Messages:
    1,926
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    165
    #5
    ok so if i want to redirect mysite.com to mypage.com, i need to put the redirect like this:
    Redirect 301 index.php http://www.mypage.com/index.php
    Code (markup):
    or
    Redirect 301 index.php http://www.mypage.com
    Code (markup):

    thanx
     
    slayer, Feb 4, 2007 IP
  6. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #6
    Either is OK IMO.But you'd better put a "/" before "index.php".
     
    Richie_Ni, Feb 4, 2007 IP
  7. master06

    master06 Peon

    Messages:
    2,806
    Likes Received:
    121
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hello slayer i remeber Dp have great 301 redirect thread. you can use search function for this.
     
    master06, Feb 4, 2007 IP
  8. Roc

    Roc Active Member

    Messages:
    105
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #8
    For redirecting the entire site you need to put this in the .htaccess and then put this .htaccess in the root folder of your old site.

    Redirect 301 / http://www.newsite.com
    Code (markup):
     
    Roc, Feb 4, 2007 IP
  9. slayer

    slayer Well-Known Member

    Messages:
    1,926
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    165
    #9
    and how much time do i need to keep the redirect?
     
    slayer, Feb 4, 2007 IP
  10. wisam74us

    wisam74us Well-Known Member

    Messages:
    1,059
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    168
    #10
    What is the code to add in case you applied friendy URLs on word press blog and want to redirect the old format blog/?p=1 to blog/friendly-url.html
     
    wisam74us, Feb 4, 2007 IP
  11. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #11
    trichnosis, Feb 4, 2007 IP
  12. slayer

    slayer Well-Known Member

    Messages:
    1,926
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    165
    #12
    an other silly question....
    once pr is transfered can i put back everything like it was?(sorry for my stupid q's but im kinda noob @ seo)
     
    slayer, Feb 4, 2007 IP
  13. evossman

    evossman Peon

    Messages:
    450
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I've been wondering about this as I might change the domain of my personal site. It's my name right now, but that doesn't really help me in the search engines.

    Thanks for the info, I'll dig around for some more and maybe try this out. I don't want to loos the good PR I've built up, or all the SE Results.
     
    evossman, Feb 4, 2007 IP
  14. slayer

    slayer Well-Known Member

    Messages:
    1,926
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    165
    #14
    other question
    if i redirect only the index will the pr from other pages be trasfered also?
     
    slayer, Feb 5, 2007 IP