Forum Moderators: phranque

Message Too Old, No Replies

Redirecting URLs

Using folder like URL to point to web page

         

eoghanoc

5:12 pm on Feb 20, 2006 (gmt 0)

10+ Year Member



Hi

this may be an simple issue with index pages on a web site but I need to be able to point people to a specific file when they enter a URL link in a folder format if you understand me?

I want people to be able to enter www.example.com/eventname ok which then redirects them to www.example.com/eventname/index.html or some similar specific file location

How can I do that or can only the web host admin do that for me?

thanks

[edited by: jatar_k at 11:27 pm (utc) on Feb. 20, 2006]
[edit reason] No specifics please ;-) [/edit]

eoghanoc

5:15 pm on Feb 20, 2006 (gmt 0)

10+ Year Member



Sorry forgot to state that my site is a static html site mostly no automation or dynamic elements like perl based CMS etc

jfodale

6:22 pm on Feb 20, 2006 (gmt 0)

10+ Year Member



I suppose it depends on what web server you're using, but with the default settings, Apache will automatically redirect them to the index page.

If you need more specific redirecting, start messing around with the .htaccess file - you can find loads of info about how to edit this file on the net. If you don't want to mess around with all of that, a lot of admin panels allow you to do simple .htaccess redirects via a web interface.