N00B Question About PHP Jump Scripts

Discussion in 'PHP' started by TruthTrekker, Feb 21, 2008.

  1. #1
    I joined Sharesale in order to add more products to my site, but I want to cloak the affiliate links. I found a PHP script here:

    http://www.stevedawson.com/article0006.php

    I have a few questions:

    Will the bots crawl the PHP file and, if so, what can I do to prevent it?

    Secondly, is there anything else I should know?
     
    TruthTrekker, Feb 21, 2008 IP
  2. Possibility

    Possibility Peon

    Messages:
    350
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Because of the nature of that script, there wouldn't really be anything for SEs to crawl. However, you can create a robots.txt file to disallow spiders from crawling certain pages.

    User-agent:  *
    Disallow: /jumper-file-RENAME.php
    Code (markup):
     
    Possibility, Feb 21, 2008 IP
  3. TruthTrekker

    TruthTrekker Guest

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'll do that, thanks.

    Creating a robots.txt file seems straightforward enough.

    Also, can I use the same script for an as many affiliate links as I want?

    I hope to alleviate my annoying PHP questions by learning PHP/MySQL down the road - it is on the agenda.:D
     
    TruthTrekker, Feb 21, 2008 IP