301 redirect to same name file, same server, but differnet domain name
snippet in htaccess

301 redirect to same name file, same server, but differnet domain name

user4407

Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} ^(www\.)?old_domain\.org$ [NC]
RewriteRule ^ http://www.new_domain.org%{REQUEST_URI} [R=301,L]