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

Can I Rotate URL's in htaccess redirect?

Discussion in 'Black Hat SEO' started by narcbliss, Dec 24, 2008.

  1. narcbliss

    narcbliss Newbie

    Joined:
    Mar 27, 2008
    Messages:
    18
    Likes Received:
    93
    I am using a htaccess redirect but would like to rotate the URL's so the traffic gets redirected to different URL's to spread out the traffic.

    I'm sure it can be done but can't find the code anywhere.

    Spent 2 hours searching before giving in and straight out asking so thanks in advance.

    narc
     
  2. 19w08

    19w08 Guest

    Hi, did a 10 min search also but all i came up was just to one url...
     
  3. bbyte

    bbyte Registered Member

    Joined:
    Oct 24, 2008
    Messages:
    86
    Likes Received:
    70
    Yeah, dunno why you would want to do this in the .htaccess. It would just get cluttered. A PHP file would be way more suitable for this.
     
  4. narcbliss

    narcbliss Newbie

    Joined:
    Mar 27, 2008
    Messages:
    18
    Likes Received:
    93
    Can I do this if redirecting from an image on MS. If so what script do you recommend.

    Thanks.
     
  5. bbyte

    bbyte Registered Member

    Joined:
    Oct 24, 2008
    Messages:
    86
    Likes Received:
    70
    Can't you just redirect to a rotator php script in the .htaccess?
     
  6. kubel

    kubel Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 30, 2007
    Messages:
    231
    Likes Received:
    332
    I would also be very interested in such a script. I suck at php, unfortunately.:eek: