PHP/HTM Gurus - Need Help with Cloaking/Redirect

by 9 replies
11
Hi all,

I have used redirects for years but I'm having a hard time getting this one to do what I want.

What I would like to accomplish is for the redirect to be cloaked as well.

So, Visitor > domain.com>redirect to affiliate link, which appears like domain.com/offer

Instead of redirecting and showing my affiliate link.

I know how to cloak, but I can't figure out how to combine the two.

I'm sure it's easy, but I just need to be pointed in the right direction.

Regards,
Chris
#programming #cloaking or redirect #gurus #php or htm
  • The only thing that I can think to do is to use frames, but if I'm not mistaken, that violates TOS
  • Here is what I do:

    Let's say I have domain.com.

    I create a new folder for redirection, lets call it goto.
    So now, we have domain.com/goto

    Now, in the folder goto, I create an index.php file with this in it:



    (I can't post links yet)

    Now, if someone clicks on domain.com/goto/ it will take you to your affiliate link.

    You could also do domain.com/fapturbo/ --> just create an index.php file in the fapturbo directory, and put the fap turbo aff link in the code in the file.

    Is this what you are looking for? I hope this helps!
    • [1] reply
    • Why? He is neither a programmer selling his services nor offering to pay for a solution.

      Here seems the perfect place to ask questions.

      Martin
      • [1] reply
  • Chris this may help.

    It's around a 16pg guide that covers php link cloaking including step by step instructions and a line by line for ht.access editing and a sample ht.access file.

    In order to use this solution you will need a Unix/Linux web hosting account that supports .htaccess editing.

    You can download it directly here:
    http://afreelinkcloaker.com/LinkCloakingDemystified.zip

    Note - it does have a brought to you by (my link) in the pdf.

    NOT trying to self promote, it's just a decent guide and much easier to download than paste a 16 page post

    Tom
    • [ 2 ] Thanks
    • [1] reply
    • Tom:

      Thanks for the great info. in your book.

      A note and a question:

      For Windows users since these are Linux/Unix type files you probably want to use Wordpad(Write) to open these files instead of Notepad. Notepad doesn't correctly interpret the end of line characters.

      And a question. My webhost has helped me map PHP to HTML files. But there are some other things in my .htaccess file (which I think I understand). Here's an edited example:

      # -FrontPage-

      IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

      <Limit GET POST>
      order deny,allow
      deny from all
      allow from all
      </Limit>
      <Limit PUT DELETE>
      order deny,allow
      deny from all
      </Limit>
      AuthName mywebsitename.com
      AuthUserFile ...
      AuthGroupFile ...

      #AddType text/html .html
      #AddHandler application/x-httpd-php .html
      AddHandler application/x-httpd-php4 .html

      My question is where should the rewriting stuff from the example .htaccess file go in my file?

      Thanks!

      >>> Mike
  • Chris,

    My free link cloaker will do exactly what you are asking: Free Affiliate Link Cloaker

    - Jared
  • Use a iFrame on that page that has 100% height, and 100% width.

Next Topics on Trending Feed