PHP redirect and link juice?

Discussion in 'Search Engine Optimization' started by mberman84, Aug 8, 2008.

  1. #1
    mberman84, Aug 8, 2008 IP
  2. DomainMagia

    DomainMagia Peon

    Messages:
    125
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Google will pass PR to destination URL via 301 redirect
     
    DomainMagia, Aug 8, 2008 IP
  3. mberman84

    mberman84 Peon

    Messages:
    511
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    but it is not a 301 redirect. i just use the php file to link to another site.
     
    mberman84, Aug 8, 2008 IP
  4. DomainMagia

    DomainMagia Peon

    Messages:
    125
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    This kind of redirect is not SE friendly and shouldn`t pass link juice. You can create proper 301 redirection using php header:

    <?
    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "Location: http://www.new-url.com" );
    ?>
     
    DomainMagia, Aug 8, 2008 IP