.htaccess tutorial

htaccess Elite


subdomain to main domain

Ask your mod_rewrite and Redirection questions here, and get answers!

Re: subdomain to main domain

New postby acmeinc » 07 Mar 2009 03:46

You could place this in the .htaccess file in the root of your sub-domains:

Redirect 301 / http://www.domain.com/index.php?sub=sub1
acmeinc
 
Posts: 4
Joined: 07 Mar 2009 02:59


Return to Redirect or Rewrite Questions