this .htaccess will need to be placed on wherever the old domain was hosted
Quote:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
|
This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
----------------------------
if you have windows hosting, try
php
- PHP: Select all
<?php
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
php?>