954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

website designed using PHP is case sensitive

We redesigned our website using PHP. However, the case-sensitivity of the links seems to be causing many errors. If customers type in by capitalizing, say in the link http://www.wspgweb.com/custom-website-design.php as say /Custom-Website-Design.php, the link does not work. However the root URL http://www.wspgweb.com seems to be working as non-case sensitive.

Has some one found a solution this problem?

alwaysonline
Newbie Poster
9 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

Website addresses have always been case-sensitive on UNIX machines. It actually depends on the server's internal code whether it responds to case. Your customers should be told to enter the website as written and that website addresses are case-sensitive.

Everyone should always treat web addresses and email addresses as being case-sensitive, because many servers already treat them so.

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

Thank you. Mid-magic. However, the root URL seems to be routing all requests to www.wspgweb.com even if someone types WSPGweb.com. How can that be not case sensitive if the /extension is case sensitive.

alwaysonline
Newbie Poster
9 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

That's part of the problem. Different programs and different equipment behave differently. There is no standardized behavior yet. So it is a good idea to type everything in lowercase until they finally get it sorted out.

The Internet routers are routing the

http://www.wspqweb.com


portion of the address to your server. They are not yet case sensitive.

The

/custom-website-design.php


portion of the url is handled by your server, which is using case-sensitive software.

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

That's part of the problem. Different programs and different equipment behave differently. There is no standardized behavior yet. So it is a good idea to type everything in lowercase until they finally get it sorted out. The Internet routers are routing the

<a href="http://www.wspgweb.com">http://www.wspgweb.com</a>

portion of the address to your server. They are not yet case sensitive. The

<a href="http://www.wspgweb.com/custom-website-design.php">http://www.wspgweb.com/custom-website-design.php</a>

portion of the url is handled by your server, which is using case-sensitive software.



You said the roort part is not "yet" case sensitive. Does that mean you anticipate that the root part of URL will also one day be case sensitive?

alwaysonline
Newbie Poster
9 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

that happens on daniweb too. I believe its due to the fact that most sites run on Linux servers which are case sensitive

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 
that happens on daniweb too. I believe its due to the fact that most sites run on Linux servers which are case sensitive



The emails are not case sensitive and thus, people started assuming that they can type the web address whichever way we like and it's coming back and biting us..

HTML is not case sensitive though....

alwaysonline
Newbie Poster
9 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: