Passing PR to a New Page

Discussion in 'Google' started by travoholic, Apr 4, 2007.

  1. #1
    Hey guys,

    I want to start using Text Link Ads but all of my site's pages are in HTML. I'm thinking of converting just the top page to PHP but I'm wondering what the impact of this will be in regards to PR and my rankings. I've heard that 301 redirects will pass along PR, is this correct and how does it work? If I get this all sorted before the next PR update, will the .php page just take on the PR as soon as it happens or is there a waiting period? Or have I gotten this all wrong completely?

    Can anyone suggest a better way to be able to use TLA with my HTML pages?

    Thanks!
    Kirsty

    ps: Not sure if this is the correct branch...
     
    travoholic, Apr 4, 2007 IP
  2. anversli

    anversli Active Member

    Messages:
    350
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #2
    You can use this code in your .htaccess file
    
    Options +FollowSymLinks 
    RewriteEngine on 
    rewriterule ^(.*)\.html $1.php
    
    Code (markup):
    Rename your files with .php extension but keep your url's like yourdomain.com/page.html

    This one works for me.
     
    anversli, Apr 4, 2007 IP
  3. megdilts

    megdilts Active Member

    Messages:
    448
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #3
    Yes, mod rewrite is the best way. I use it often.
     
    megdilts, Apr 4, 2007 IP
  4. haimrg

    haimrg Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i've had good experience with 301 redirection, so i can recommand that.
     
    haimrg, Apr 4, 2007 IP
  5. codeber

    codeber Peon

    Messages:
    578
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks for the mod re-write bit. that may come in handy for me.
     
    codeber, Apr 4, 2007 IP