Need help doing this urgent

Discussion in 'JavaScript' started by dedifrance.com, Jan 16, 2013.

  1. #1
    Ok,

    This is about a vbulletin forum.
    The forum has 1000's of pages which has links like this:

    www.url.com/url/xxxx/xxxx


    like this 1000's of URL's are there starting with exact same www.url.com

    I am looking to redirect those specific URL's starting with http://www.url.com to different URL.

    I want to do this via javascript, is it possible to have multiple URL's saved in a file, and the script can automatically pick 1 URL's each time someone clicks on those links..

    Please help with this.
     
    dedifrance.com, Jan 16, 2013 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    Is this one list of thousands of URLs? Or is this thousands of pages, each with one URL? (Usually in a forum it's the latter, in which case you'd use .htaccess, not Javascript.)
     
    Rukbat, Jan 17, 2013 IP