-
linking to a directory?
apologies for posting a real basic http question here, but at least i know i'm going to get an answer..
how do i send people to a page on my website if they use a url that ends in a directory? for example, go to www.bbc.co.uk/radio1 - that's not actually a page, ie it has no .htm extension. similarly, i want people to be able to go to www.mydomain.com/cv but the actual page is www.mydomain.com/cv/main.htm
how's it done, please ?
||| O ^ | + O ¬
-
X-Moderator
You need to set up a default index page at your host. This is the page that will be displayed if a user just accesses a directory.
The normal defaults are index.html, index.htm and/or default.htm.
So to answer your question, rename your page main.html to index.html and you should be sorted.
For 100's of free Swishmax and V2 downloads, tutorials
and stunning site templates [CLICK HERE]
-
__OSX powered__
Just rename your page to "index.html" and it should show up when you type www.somedomain.com/cv it's up to the server configuration to get the default page for a directory and normally it's "index.html", "index.htm" but you can define whatever you want.
-
thanks, both of you! knew it had to be something straightforward like that..
cheers
||| O ^ | + O ¬
-
Hi,
one slight addition there:
if you put http://..../dirname into the url, there is an extra roundtrip to the server - if you put http://..../dirname/ there, the default page is loaded right away
One of the rare cases where a slash may be worth a few seconds....
Musicman
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|