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