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
Solved

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

Posted on 2004-04-13
3
139 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
3 Comments
 

Accepted Solution

by:
scottarius earned 125 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

829 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