Monday, 26 August 2013

how to change site path and create subdomain using htaccess

how to change site path and create subdomain using htaccess

i have a site with the index.php located at the server public root.
the url is
http://example.com
i have created a subfolder called 'travel' and moved the whole site
content into it.
Using .htaccess , how can i have my site now at this adress ( with the
subdomain travel):
http://travel.example.com

No comments:

Post a Comment