How to redirect dynamic pages with htaccess

Posted by user364577 on Stack Overflow See other posts from Stack Overflow or by user364577
Published on 2010-06-11T13:33:54Z Indexed on 2010/06/11 13:52 UTC
Read the original article Hit count: 137

Filed under:

I have some old indexed pages like:

index.php?action=addon_googlemap_showmap&listingID=XXXXX&popup=1

index.php?action=addon_googlemap_showmap&listingID=XXXXX&popup=yes

and I want to redirect them to new urls:

index.php?action=listingview&listingID=XXXXX

XXXXX is a number.

What should I put in my htaccess file?

Thank you in advance.

© Stack Overflow or respective owner

Related posts about mod-rewrite