[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Folder names (or similar) without using the / at the end....

Posted on 2004-04-13
3
Medium Priority
?
144 Views
Last Modified: 2010-04-09
I see several sites that using folders like

domain-name.com/folder_name

now I can do the same except that when I host the above and enter it in my address bar it comes up with:

domain-name.com/folder_name/

now what I want is it to stay:

domain-name.com/folder_name

As this looks a lot cleaner is search engine listings and looks nicer in the address bar.

How do you do this?

Here is an example of a page that does the folder but the folder doesn't force a / at the end:

http://www.travel-library.com/canada-saskatchewan


My server information if it will help, I run a windows server, no php support but asp support and my programming knowledge is none.

This is probably a very easy thing to do but I've just never know the trick.

Thanks for the help,
Stephen
0
Comment
Question by:lnternet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
scottarius earned 500 total points
ID: 10821720
The thing about this is it's not really a folder... Look at some of the other links on the site you provided, like this one:

http://www.travel-library.com/africa/

try taking the last slash off, you'll see it gets put right back on there again.  The slash is put on by the browser when no page is specified, and a default index page is loaded out of the requested directory.  The ones you see around that don't put the ending slash on are actually specific pages being loaded not directories, you just don't see the file extension because they have some kind of re-write rule to make their URL's prettier.  

If you have administrator access to your windows server and know anything about managing IIS you can use this tool to achieve the same kind of results:

http://www.isapirewrite.com/

Other than that there is no "trick" to get the slash to go away if your browsing a directory.

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question