Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#8038 closed enhancement (duplicate)

Allow urls to be matched case insensitively

Reported by: so1o Owned by: ryan
Milestone: Priority: normal
Severity: normal Version:
Component: Permalinks Keywords: needs-patch
Focuses: Cc:


We found that Wordpress's urls are case sensitive. This means urls will work like this:

  • /site/2008-10-09/
  • /site/2008-10-09/Tuesday/
  • /site/2008-10-09/Friday/

But not:

  • /site/2008-10-09/tuesday/
  • /site/2008-10-09/Tuesday/

we found where in the Wordpress core that causes this and with two minor changes we can make urls case insensitive.

Attachments (1)

defect.patch (642 bytes) - added by so1o 5 years ago.
makes url match case insensitive

Download all attachments as: .zip

Change History (10)

so1o5 years ago

makes url match case insensitive

comment:1 so1o5 years ago

  • Keywords has-patch added

comment:2 Denis-de-Bernardy5 years ago

this is less of a WP bug than it is of an Apache "feature". on non-windows systems, urls are case-sensitive. it certainly is a weird option, but it's they way it is

plus, making it case insensitive would also require to redirect to the "correct" url.


comment:3 DD325 years ago

this is less of a WP bug than it is of an Apache "feature"

Not at all actually, The permalink handling is completely within WP, so..

comment:4 ryan5 years ago

  • Component changed from General to Permalinks
  • Owner changed from anonymous to ryan

comment:5 Denis-de-Bernardy5 years ago

  • Type changed from defect (bug) to enhancement

See also: #6627 and #7577

comment:6 Denis-de-Bernardy5 years ago

  • Keywords needs-patch added; has-patch removed
  • Milestone changed from 2.8 to Future Release

broken patch

comment:8 Denis-de-Bernardy5 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

comment:9 Denis-de-Bernardy5 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.