How do I change the URL to a shorter one?

Discussion in 'Programming' started by Peter Brown, Apr 29, 2007.

Thread Status:
Not open for further replies.
  1. #1
    Hi there,
    I am trying to make http://www.<site>.com/iqtest.php?name=<name>&story=01&Submit=Get+Your+IQ into http://www.<site>.com/iqtest.php?name=<name>

    Is this possible? If so, how do I go about doing it?
     
    Peter Brown, Apr 29, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    http://www.tinyurl.com

    Or create a reference table in your DB, that ID 1 = your huge url, then just have your page redirect via the ID.
     
    ccoonen, Apr 30, 2007 IP
    Peter Brown likes this.
  3. SeLfkiLL

    SeLfkiLL Active Member

    Messages:
    85
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    50
    #3
    SeLfkiLL, Apr 30, 2007 IP
    Peter Brown likes this.
Thread Status:
Not open for further replies.