Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sub-Domain permanent redirect using .htaccess
#1
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 
Kunnu (Administrator)
Dewlance.com - Best Web Hosting

Create a Ticket
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)