Solved

WEbpage Redirection when folder  name is capitalized

Posted on 2007-04-05
5
213 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
[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
  • 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:Kiran Paul VJ
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:Kiran Paul VJ
ID: 18864733
thats right mrichmon, most probably its a windows server
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

739 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