Author Topic: How to redirect a domain?  (Read 3486 times)

Offline admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 296
    • View Profile
How to redirect a domain?
« on: June 21, 2010, 01:56:13 AM »
In order to redirect your domain to another one,
Create .htaccess in the root of the domain you want redirect and put in it:
Code: [Select]
RewriteEngine on

RewriteCond %{HTTP_HOST} ^developers-heaven.net$ [OR]
RewriteCond %{HTTP_HOST} ^www.developers-heaven.net$

Rewriterule ^(.*)$ http://developers-heaven.com/$1 [r=301,nc]


This means developers-heaven.net will redirect you to developers-heaven.com