Results 1 to 2 of 2
  1. #1
    Moderator leeann's Avatar
    Join Date
    January 18th, 2005
    Posts
    2,955
    Would This Work?
    I was doing a search for articles about cloaking and I came across this on a blog. Would this really work? And if so, I am a little confused about the the last line "they’ll just see your-domain-name .net/namefile. " Did the blogger mean.. .com (not .net).

    If you did this, would you have to put

    Redirect 301 /namefile http://cnn.com

    for every link or would the Redirect 302/namefile part work for all links you wanted to redirect?

    I lost track of what page I found it on or I would give it proper credit...but here it is:


    Blog --------------------------------------------
    Here’s the most quickest, painless method I’ve found yet to masking affiliate links without installing folders or script programs, etc.:
    Add this to your .htaccess file:

    Redirect 301 /namefile http://cnn.com

    Of course you change http://cnn.com to your full affiliate link

    /namefile can be whatever you like. Now whenever you link to your affiliate product, use your-domain-name. net/namefile, and your visitors will be swept away to cnn.com once they click that link. The visitor won’t see your affiliate link on your page at all, they’ll just see your-domain-name .net/namefile.

    ----------------------------------------

    Thanks,
    leeann


    Shoppers determine what has value and they like coupons. Stop manipulating who set the cookie just because you do not like coupon and promotional sites.

  2. #2
    ABW Ambassador sjangro's Avatar
    Join Date
    January 18th, 2005
    Location
    Boston
    Posts
    1,529
    Quote Originally Posted by leeann
    I was doing a search for articles about cloaking and I came across this on a blog. Would this really work? And if so, I am a little confused about the the last line "they’ll just see your-domain-name .net/namefile. " Did the blogger mean.. .com (not .net).

    If you did this, would you have to put

    Redirect 301 /namefile http://cnn.com/

    for every link or would the Redirect 302/namefile part work for all links you wanted to redirect?
    The your-domain-name.net would be whatever your domain is. They simply chose to use .net as the example.

    With this technique, you would need one of those for EVERY link you want to redirect.

    If that seems like endless work, there are other more elegant (and technical) solutions if you've got lots of links.

    For example, you can build a database of links:
    ID URL
    -- ------
    1 URL1
    2 URL2
    .
    .
    .
    1000 URL1000

    And create a simple redirect script that looks up where it should go: redirect.php?id=1

    This has been described in much more detail here before.

    http://forum.abestweb.com/showthread.php?t=21525 (I thought this subject sounded familiar!)
    http://forum.abestweb.com/showthread.php?t=62386 (looks like Snib likes to write these sorts of scripts as a hobby. )

    By the way, when I do this stuff, I use a 302 redirect.

    A 301 is a permanent redirect which says that whatever you were looking for will always be found at this new location, permanently. That means browsers and proxy servers and other systems on the Internet that remember things like that to speed things up may never check with your server again the next time your URL is accessed. So for example, if you wanted to change out the hidden URL behind the redirect, for some people it would still go to the old URL.

    a 302 is a temporary redirect and essentially says, for the time being, the info you're looking for is over there. It may be something different next time, so check here again first. For example, all the networks use 302 redirects in their tracking click URLs.

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Work and work... Work your fingers to the bone!
    By jc101 in forum Newbie Affiliate FAQs & Helpful Articles
    Replies: 4
    Last Post: February 15th, 2004, 06:00 PM
  2. Replies: 8
    Last Post: December 16th, 2003, 09:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •