Solved

WEbpage Redirection when folder  name is capitalized

Posted on 2007-04-05
5
217 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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

734 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