Mapping out old url to new url via htaccess - help needed

Discussion in 'Apache' started by nyckidd, Dec 2, 2010.

  1. #1
    hello people, i got an interesting one here...i manually upgraded my site so the old articles links and the new articles links are completely different , below is the scenario :

    Old Link - http://www.mywebsite.com/wiki/index.php?content_id=304
    New Link - http://www.mywebsite.com/wiki/index.php?page=Philly+Cheese+Steak

    And i got like 500 articles so whats the best way to redirect the old link with the content id to the new link ? Is it possible to use the titles of the articles coz they all are the same ?
     
    nyckidd, Dec 2, 2010 IP
  2. ShamSelva

    ShamSelva Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can use javascript to redirect
     
    ShamSelva, Dec 3, 2010 IP
  3. nyckidd

    nyckidd Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hey, thanks how do i use javascript to redirect ?
     
    nyckidd, Dec 3, 2010 IP