Solved

WEbpage Redirection when folder  name is capitalized

Posted on 2007-04-05
5
208 Views
Last Modified: 2013-12-04
I created a folder on a website that used two capital letters in the folder name. Ie.http://www.test.com/TestFolder/index.html and now want to make another folder without the uppercase. Ie. http://www.test.com/testfolder/index.html but i cannot create that folder again. Is there away i can have the page redirect if someone put http://www.test.com/testfolder/index.html to automatically go to http://www.test.com/TestFolder/index.html ?
0
Comment
Question by:cslt
  • 2
  • 2
5 Comments
 
LVL 35

Accepted Solution

by:
mrichmon earned 125 total points
ID: 18861693
It sounds like your server is case insensitive.  Therefore you cannot have two folders of the same name with only case differences.

You could end up doing things to lowercase the path, but it is really not worth it.

Here is some info:
http://en.wikipedia.org/wiki/URL_normalization
0
 
LVL 16

Expert Comment

by:kiranvj
ID: 18862682
if the server is case insensitive the server will handle both ur URLs as same and will show the index.html in TestFolder

kiranvj
0
 

Author Comment

by:cslt
ID: 18864358
I found out that the server is case sensitive and the vendor already has printed material with the uppercase URL. Until I move the site to a new server, is three is way to fix this issue with some form of a script?
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 18864621
If the server is case sensitive then you should be able to have TestFolder created even if testfolder already exists.  If not then it is case insensitive.
0
 
LVL 16

Expert Comment

by:kiranvj
ID: 18864733
thats right mrichmon, most probably its a windows server
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Select2 jquery help 9 46
Cannot scroll down on html page 2 27
Login to computer through Admin Priviligies 9 54
HTML CSS 7 21
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses four methods for overlaying images in a container on a web page
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now