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

how to redirect my site to an affiliate main page

Discussion in 'Black Hat SEO' started by yuyo, May 6, 2011.

  1. yuyo

    yuyo Regular Member

    Joined:
    Oct 29, 2008
    Messages:
    478
    Likes Received:
    24
    Guys i have a site that i want to send all visitors to the affiliate main page.
    how can i do this?

    thanks
     
  2. ericsson

    ericsson Elite Member Premium Member

    Joined:
    Apr 25, 2009
    Messages:
    2,642
    Likes Received:
    8,132
    Occupation:
    www
    Location:
    Swe
    Home Page:
    Open up notepad.

    Put this text into it

    Code:
    <?php
    header('HTTP/1.1 301 Moved Permanently');
    header('Location: http://www.YourAffiliatePage.com');
    ?>
    Save as index.php

    Upload to your ftp.

    Tada.
     
    • Thanks Thanks x 1
  3. _Chip_

    _Chip_ Senior Member

    Joined:
    Jun 28, 2009
    Messages:
    847
    Likes Received:
    256
    Occupation:
    Student
    Location:
    Depends on my vpn
    if you do this, don't you think, you will lose your rank?
     
  4. yuyo

    yuyo Regular Member

    Joined:
    Oct 29, 2008
    Messages:
    478
    Likes Received:
    24
    here is my problem, i used to have a flower shop but i sold the store now i have the website which is pagerank 2 it gets about 60 visits per day and the person that makes the arrangaments is not longer with me, so I want to sign up with flowers 1 they have a program with api key so all people that visit my site will be redirected to them and maybe i take a commision ?
    i dont know of any other ideas?
    any help

    thanks
     
    Last edited: May 6, 2011
  5. _Chip_

    _Chip_ Senior Member

    Joined:
    Jun 28, 2009
    Messages:
    847
    Likes Received:
    256
    Occupation:
    Student
    Location:
    Depends on my vpn
    you are getting the 60 visitors probably from search engines.Now if you redirect your main website, you will lose your rank and the PR.
     
  6. yuyo

    yuyo Regular Member

    Joined:
    Oct 29, 2008
    Messages:
    478
    Likes Received:
    24
    yes you are right.. so what can i do?
     
  7. theqavish

    theqavish Regular Member

    Joined:
    Apr 26, 2010
    Messages:
    497
    Likes Received:
    243
    Occupation:
    SEO/SEM/Money Making
    Location:
    http://buyguestblogposts.co.uk/
    place a big banner saying( Flower shop has been shifted to a new domain , then place a link in the banner to the other site) without deleting a the text from your site
    regards
     
  8. wpbacklinks

    wpbacklinks Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 27, 2010
    Messages:
    3,397
    Likes Received:
    1,339
    Gender:
    Male
    Occupation:
    Affiliate Marketer
    Location:
    Everywhere
    use plugin called "exit rescue" if you are using wordpress site. as simple as that!
     
  9. panoet

    panoet Regular Member

    Joined:
    Jun 26, 2010
    Messages:
    243
    Likes Received:
    56
    Use 302 redirect instead of 301, my opinion...
     
  10. _Chip_

    _Chip_ Senior Member

    Joined:
    Jun 28, 2009
    Messages:
    847
    Likes Received:
    256
    Occupation:
    Student
    Location:
    Depends on my vpn
    HTML:
    http://www.blackhatworld.com/blackhat-seo/cloaking-content-generators/295443-getting-sued-need-redirect-bots-new-domain-but-user-must-see-blank-page-how.html
    check out autumn's script here, that should solve your problem!