Though there are many ways to redirect using the HTTP 301 status code. (make sure the AllowOverride is set to all on the apache config) The .htaccess must be as follows: Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^orig.domain.com [nc] rewriterule ^(.*)$ http://new.domain.com/ $1 [r=301,nc] Replace the orig.domain.com and new.domain.com with the ones needed for your…
Using .htaccess to redirect a page with permanently moved 301
Posted on