How to Redirect Old dynamic URLs to new dynamic URLs

Discussion in 'Apache' started by angilina, Aug 19, 2008.

  1. #1
    I want to redirect

    xxxxxx/forumdisplay.php?fid=xx&page=1

    to

    xxxxxx/forumdisplay.php?fid=xx

    Where xx will change.

    I have tried many different types of codes in .htaccess but no rewriterule worked.

    Any one know how to do this?
     
    angilina, Aug 19, 2008 IP
  2. kulinar

    kulinar Member

    Messages:
    45
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    RedirectMatch 301 ^/forumdisplay.php?fid=(.*)&page=1 http://xxxxxx/forumdisplay.php?fid=$1
    Code (markup):
    Try this one
     
    kulinar, Aug 24, 2008 IP