/ Published in: Apache
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ [NC] RewriteRule .* http://www.newdomain.com%{REQUEST_URI} [R=301,L]
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)