/    Sign up×
Community /Pin to ProfileBookmark

URL Capitalization Load Failure

Hello,

Timothy here. I’m new to the forum. Looks great.

The issue I need help to solve is the following:

When I use lower-case URLs, such as, [url]www.domain.com/subdirectory[/url], the website will perfectly. But if I ever have an capialized letters in the URL, like, [url]www.Domain.com/Subdirectory[/url] it gives me a 404 page not found.

What can I do to have pages load, even if there is a capitalized letter, like in the example?

to post a comment
Full-stack Developer

4 Comments(s)

Copy linkTweet thisAlerts:
@hyperionXSMar 02.2012 — Domain name will already be lowercase. Doesn't matter is you access example.com, ExAmPLE.com or eXampLe.com. The domain is the same.

But because on linux folder name is case sensitive, subdirectory and Subdirectory are two different directories. That's why I don't advice you to make 'subdirectory' accesible through 'Subdirectory'. If you already have links to Subdirectory, have a htaccess (or server side scripting you are using) redirect 301 to subdirectory. Or viceversa
Copy linkTweet thisAlerts:
@alanpolyMar 02.2012 — Because on Linux folder name is container receptive. subdirectory and Subdirectory are two dissimilar directories. That's why I don't recommendation you to make 'subdirectory' reachable through 'Subdirectory'. If you already have links to Subdirectory, have a htaccess (or server side scripting you are using) redirect 301 to subdirectory. Or viceversa
Copy linkTweet thisAlerts:
@hyperionXSMar 02.2012 — Because on Linux folder name is container receptive. subdirectory and Subdirectory are two dissimilar directories. That's why I don't recommendation you to make 'subdirectory' reachable through 'Subdirectory'. If you already have links to Subdirectory, have a htaccess (or server side scripting you are using) redirect 301 to subdirectory. Or viceversa[/QUOTE]

:eek: What was that?
Copy linkTweet thisAlerts:
@ManOfBlissauthorMar 02.2012 — Thanks. Yeah that's excellent it works.
×

Success!

Help @ManOfBliss spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...