Is this a sub domain?

Associate
Joined
9 Jan 2006
Posts
1,440
Location
Nottingham
hi all i have a question that i'd appreciate your help with :)

i want to promote a particular section in our website on our adverts, i.e. www.website/section.htm.

i want to keep it as simple as possible so would prefer it if i could leave out the .htm bit and have the site find the right page if all the user typed in was www.website/section (at the moment it's a 404 error if you miss the extension).

so my question is, how do i accomplish this? is it a sub domain? some of the stuff i've read would seem to contradict it if not what is it?

thanks for any help you can give. oh and if makes any difference all the pages are static html.
 
A few ways to do this:

1. Create a folder called section and put the index file in that but the link would be www.website.com/section/

2. Use a mod re-write, you don't need to understand it, just google it and put it in the htaccess file so that your file extensions like .php aren't read like www.website.com/section (i used this for my dvno site in build in my sig)

3. create a subdomain like: www.section.website.com
 
Back
Top Bottom