RewriteEngine On RedirectMatch 301 s(.*).html$ http://www.yoursite.com/showthread.php?t=$1 RedirectMatch 301 r(.*).html$ http://www.yoursite.com/forumdisplay.php?f=$1 RedirectMatch 301 sada(.*).html$ http://www.yoursite.com/member.php?u=$1