How can I shorten the url a user has to type?
July 19, 2009 4:11 AM
Subscribe
Can I program something so a visitor who wants to see
www.example.com/CTTourHome.htm only has to type www.example.com/ct ?
I will be putting a link to this page on the homepage of my site, but I want to put something easy to type on offline ads and announcements.
I remember doing something like this with an old website I had on a different host. I think it was doteasy.com and now I'm on lunarpages.com. (I asked lunarpages and they said I couldn't do this. Hmmm... how did I do it before then?)
Is it possible to let users type in that trailing "/ct" without including a .htm extension?
This is a new subsection of the site by the way, but I haven't made a new subdirectory for it. Do I need to do that and make my desired page the default, index page for the subdirectory?
One last thing: this is an add-on domain, so it's a subdomain or folder under my main domain. I am able to access it via ftp directly with the dreamridersmovie.com address.
posted by DreamRider to computers & internet (5 comments total)
However, that index.html has a redirect directive that shunts the users to the real webpage.
So, you type in the short URL, the browser/httpd give you the index.html, and the redirect moves users to the real page.
posted by Netzapper at 4:37 AM on July 19 [1 favorite]