944,172 Members | Top Members by Rank

Ad:
May 5th, 2007
0

website designed using PHP is case sensitive

Expand Post »
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?
Last edited by alwaysonline; May 5th, 2007 at 1:03 am. Reason: typing error
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
alwaysonline is offline Offline
9 posts
since May 2007
May 5th, 2007
0

Re: website designed using PHP is case sensitive

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.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
May 5th, 2007
0

Re: website designed using PHP is case sensitive

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
alwaysonline is offline Offline
9 posts
since May 2007
May 8th, 2007
0

Re: website designed using PHP 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.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
May 31st, 2007
0

Re: website designed using PHP is case sensitive

Click to Expand / Collapse  Quote originally posted by MidiMagic ...
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
portion of the address to your server. They are not yet case sensitive.

The
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?
Last edited by alwaysonline; May 31st, 2007 at 6:35 pm.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
alwaysonline is offline Offline
9 posts
since May 2007
May 31st, 2007
0

Re: website designed using PHP is 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
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,534 posts
since Apr 2005
May 31st, 2007
0

Re: website designed using PHP is case sensitive

Click to Expand / Collapse  Quote originally posted by jbennet ...
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....
Reputation Points: 10
Solved Threads: 0
Newbie Poster
alwaysonline is offline Offline
9 posts
since May 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Site Layout and Usability Forum Timeline: Dreamweaver templates and popup menus
Next Thread in Site Layout and Usability Forum Timeline: How do I incorporate a search engine on my website?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC