Return to Snippet

Revision: 28139
at July 2, 2010 02:20 by batfan


Initial Code
Options +FollowSymLinks

RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ [NC]
RewriteRule .* http://www.newdomain.com%{REQUEST_URI} [R=301,L]

Initial URL

                                

Initial Description

                                

Initial Title
HTACCESS - Redirect Old Domain to New Domain

Initial Tags
htaccess

Initial Language
Apache