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

Cloaking long address

Discussion in 'Cloaking and Content Generators' started by shezzan, Nov 16, 2012.

  1. shezzan

    shezzan Newbie

    Joined:
    May 18, 2012
    Messages:
    17
    Likes Received:
    0
    Occupation:
    Freelancer
    Location:
    Jakarta but i am European
    Dear Blackhat World,
    I would like to ask you an advice.
    I just singned a new affiliation with a famous hotel booking website as i have a great domain with plenty of traffic.
    I am redirecting my domain to their affiliation link using index.php 301 redirect

    therefore when someone type the website address the address becomes very long and clearly shows the affiliate link.

    is there any way to transform this redirected url in something nicer, like mysiteaddress / hotels ???

    I tried many ways but i can't achieve anything.

    Any help, with detailed instrutions is highly appreciated, maybe also other forum member are interested in knowing more..

    Thanks a bunch in advance.

    Shezzan
     
  2. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    Code:
    <?php
    
    $link = 'http://www.yourlongshittyaffiliatelinkgoeshere.com/';
    
    header("Location: $link", true, 301);
    
    ?>
    
    Save the above as mysiteaddress.com/hotels/index.php.

    Then you can link to mysiteaddress.com/hotels and traffic will be redirected to your affiliate url.

    If you want to go more advanced, look at the PrettyLink plugin for Wordpress or CPA Redirector 2.
     
    • Thanks Thanks x 1
  3. DecoderDave

    DecoderDave Newbie

    Joined:
    Jun 18, 2012
    Messages:
    18
    Likes Received:
    0
    try ddp d0t net or other short url service
     
  4. shezzan

    shezzan Newbie

    Joined:
    May 18, 2012
    Messages:
    17
    Likes Received:
    0
    Occupation:
    Freelancer
    Location:
    Jakarta but i am European
    Dear DecoderDave and Autumn thanks a lot.
    I created the php files.
    I have placed it in the /hotels/ folder.
    In the root folder i create an httaccess like this

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^$ /hotels/ [R=301]
    </IfModule>

    but when redirected still compares the shitty long affiliate url and not webadress / hotels

    What can i do...
    Thanks..
     
  5. dudemike

    dudemike Power Member

    Joined:
    Jan 20, 2009
    Messages:
    554
    Likes Received:
    94
    just get the domain that you want and or sounds good and then just point your domain to that affiliate link address
     
  6. bartnova

    bartnova Newbie

    Joined:
    Oct 27, 2012
    Messages:
    20
    Likes Received:
    2
    I thought you needed to iFrame for this or something? I want to know how to do this too, I looked into it a lot and people said you needed to put in an iFrame code and spoof the referrer or something?
     
  7. Jenny30

    Jenny30 Regular Member

    Joined:
    Feb 2, 2012
    Messages:
    478
    Likes Received:
    32
    All you have to do is get the address that you wish and point out your link to that link address.
     
  8. OloriOko

    OloriOko Newbie

    Joined:
    Aug 24, 2012
    Messages:
    19
    Likes Received:
    2
    why not just use a url shortening service in the href tag?