Return to Snippet

Revision: 38251
at December 29, 2010 20:53 by daipratt


Initial Code
RewriteEngine On
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301]

Initial URL
http://daipratt.co.uk/internet-and-programming/

Initial Description
This will redirect all pages from one domain, to the homepage of another domain.

Initial Title
301 redirect one domain to another using .htaccess

Initial Tags
htaccess

Initial Language
Other