RewriteEngine On RewriteCond %{THE_REQUEST} ^/threads/(.*) RewriteRule ^(.*)$ http://www.thejavasea.com/threads/$1?amp=1 [R=301,L]