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

URL Redirect HELP!!! PLZ

Discussion in 'Black Hat SEO' started by danielblank, Dec 7, 2010.

  1. danielblank

    danielblank Registered Member

    Joined:
    Nov 26, 2010
    Messages:
    88
    Likes Received:
    21
    Location:
    in God's waiting room of life
    How can I make my current url ( the site that I own ) redirect to a URL and a different page so that it will lead my organic traffic to a seperate affiliate site ( that I dont own )....just would like to test something out:D
     
  2. ericsson

    ericsson Elite Member Premium Member

    Joined:
    Apr 25, 2009
    Messages:
    2,642
    Likes Received:
    8,132
    Occupation:
    www
    Location:
    Swe
    Home Page:
    Use this code, place it in index file.

    Code:
    <?php
    header('HTTP/1.1 301 Moved Permanently');
    header('Location: http://www.exempel.se/sida.html');
    ?>
     
    • Thanks Thanks x 1
  3. danielblank

    danielblank Registered Member

    Joined:
    Nov 26, 2010
    Messages:
    88
    Likes Received:
    21
    Location:
    in God's waiting room of life
    DANG! thats what I'm talking about...thax for the quick help,..will do
     
  4. ericsson

    ericsson Elite Member Premium Member

    Joined:
    Apr 25, 2009
    Messages:
    2,642
    Likes Received:
    8,132
    Occupation:
    www
    Location:
    Swe
    Home Page:
    No Problems mate. :-D
     
  5. danielblank

    danielblank Registered Member

    Joined:
    Nov 26, 2010
    Messages:
    88
    Likes Received:
    21
    Location:
    in God's waiting room of life
    Just thought of something,..doing this want hurt my current position in the SE's
    will it?
     
  6. ericsson

    ericsson Elite Member Premium Member

    Joined:
    Apr 25, 2009
    Messages:
    2,642
    Likes Received:
    8,132
    Occupation:
    www
    Location:
    Swe
    Home Page:
    It probably will, yes.
     
  7. itzmagic

    itzmagic Junior Member

    Joined:
    Jan 24, 2010
    Messages:
    137
    Likes Received:
    8
    Occupation:
    Whatever it comes
    Location:
    Mother Earth
    yes it hurts a lil position in SR but you can maintain it by building links and ericsson has given you best advice of putting 301 redirect ...
     
  8. CyrusVirus

    CyrusVirus BANNED BANNED Premium Member

    Joined:
    Aug 20, 2009
    Messages:
    1,110
    Likes Received:
    686
    or if your using hostgator by chance, inside of the CP you can do it that way, but its all the same, it will redirect the same. its all a 301* just make sure you use a 301 and not anything else