Wednesday, October 5, 2011

Redirect domain from index.php


If you are not able to redirect url(domain) from htaccess 

there is a simple solution .

Put this code at top in your index.php



<?
Header( "HTTP/1.1 301 Moved Permanently" ); 
Header( "Location: http://www.url.com" );       
?>

No comments:

Post a Comment