06-02-2008, 06:24 PM
How can i take a folder for example:
and change that to
How would i go about changing that so when somone types in folder.sitenmae.com it will automatically go to that folder's index page?
Im not sure if that is confusing but let me know if you need more info. Thanks guys!
06-02-2008, 06:30 PM
You set up a subdomain in your hosting control panel. You can then set the destination of that subdomain - the place where it will pull content from - to anything you like.
Check your hosts help files for how to set up a subdomain.
06-02-2008, 06:34 PM
No examples for you, but my feeling is it's going to be an .htaccess rewrite rule.
Search using Google: .htaccess rewrite url
Check back again, because others might
have an actual example to give you.
06-02-2008, 06:35 PM
I think http://www.codingforums.com/showthread.php?t=75198 is all about this! (and you may get some more from this sub-forum)
06-02-2008, 07:32 PM
ok, thats really what i was lloking for. I googled it and found a real easy way that explained it pretty well. Thanks to all of the suggestions.
here (http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html) is the site if anyone needs to know in future questions.
06-03-2008, 04:53 AM
Though many web hosts make it very easy for you to setup subdomains so you may want to try that first as it saves you some work.