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?

Recommended Answers

All 6 Replies

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.

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.

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.

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

[URL]http://www.wspgweb.com[/URL]

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

The

[URL]http://www.wspgweb.com/custom-website-design.php[/URL]

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?

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

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....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.