• Hi
    I am a newbie here and have recently created a blog with affiliate links. I have been looking into purchasing a link cloaking software but was told that this is unnecessary. Instead I have been told touse the following redirect script

    The instructions given are as follows:

    Just place the affiliate link in the script and save it with whatever nice looking name you want and then use that in you rweb pages. When you save it put .php as the extension and not .txt


    SCRIPT as follows:

    <?php
    header( ‘Location: http://www.yoursite.com/new_page.html&#8217; ) ;
    ?>

    As I said, I am a complete newbie and I am totally lost as to what all of this means! Can someone please explain it to me in generic language??
    Thanks!
    Julie

Viewing 2 replies - 1 through 2 (of 2 total)
  • That script will immediately redirect people to whatever URL you provide. Is that what you want?

    Moderator cubecolour

    (@numeeja)

    The script would work, but its a lot of messing about as you’d have to manually create and maintain a separate text file for each link.

    It would probably be easier to use the Simple Link Cloaker plugin.

    Or do a search for ‘redirect’ or ‘cloak’ in the

    plugin directory There are a few plugins available that should do the job.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Link cloaking with redirect script?’ is closed to new replies.