Click to See Complete Forum and Search --> : How to make Link without .htm work ???
sreets74
06-30-2008, 10:39 AM
I'm fairly new to web design - I use MS Expression Web - I've created a registration form on a travel website, and am wondering how one can access it without typing in the .htm (EX: the flyer says to go to www.preferrednaples.com/birthdaybash - however - the link doesn't work unless the .htm is added) How can I make it work so that people can type the web address into the address bar without the .htm? Many thanks!
Mr. E. Cryptic
06-30-2008, 11:00 AM
I'm not sure if you can use .htaccess redirects to go directory url to page url, i've never had occasion to try it. The following will work for you though...
create a folder called called 'birthdaybash' then upload the page you want to appear as index.html into that folder- if you have links to other pages on your site, on that page, remember that you need to reflect the change of location - so a link that would have been 'anotherpage.html' would have to become '../anotherpage.html' the ../ taking it back up a directory
if you've a lot of links / images on the page that you'll need to update to the ../ thing, don't bother - there are simpler ways it can be redirected.
sreets74
06-30-2008, 11:32 AM
Your suggestion worked beautifully! Thank you so much for your help!