Dewlance® Webmaster Forum

Full Version: Sub-Domain permanent redirect using .htaccess
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

You can redirect your sub domain to new site, page etc through .htaccess.

Redirect whole site to new site(You can use this on sub-domain or main site,etc..)
PHP Code:
Redirect 301 http://www.example.com/ 

Redirect whole site to a page..

PHP Code:
Redirect 301 http://www.example.com/page.php