1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Backlinks pointing to a redirected PHP file

Discussion in 'Black Hat SEO' started by kimkils, Aug 20, 2010.

  1. kimkils

    kimkils Power Member

    Joined:
    Jan 10, 2009
    Messages:
    663
    Likes Received:
    225
    If i have some backlinks pointing to index.php and have index.php do a "header location" redirect to another page, will the page which it is being redirected to get the juice?
     
  2. Scripteen

    Scripteen Elite Member

    Joined:
    Sep 19, 2009
    Messages:
    1,811
    Likes Received:
    1,918
    Home Page:
    Use 301 redirect through .htaccess instead. This is what works for SEO.
     
    • Thanks Thanks x 1
  3. Stephe

    Stephe Newbie

    Joined:
    Aug 17, 2010
    Messages:
    20
    Likes Received:
    3
    Location:
    USA
    You can do a 301 redirect via php:
    <?php
    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "Location: destination" );
    ?>

    Yes, all of the link juice will then point to that new page. There will some small loss (~5-15%) because you are redirecting the page, but basically all of this will be directed to that other page.