Forums

Page URI case-sensitivity (6 posts)

  1. pah2
    Member
    Posted 3 years ago #

    I have a page in my WordPress 2 installation with a post slug of "goodfilms2002":

    http://pah2.golding.id.au/goodfilms2002/

    I have noticed page URIs are case-sensitive (even though post URIs are not) so that if someone links using mixed case, I get a 404 error:

    http://pah2.golding.id.au/goodFilms2002/

    However, if I use the query string instead of the rewritten URI, the page works:

    http://pah2.golding.id.au/index.php?pagename=goodFilms2002

    I have a mod_rewrite rule that changes the second example into the third example internally... but this fails to work - I still get a 404.

    Does anyone have any ideas about how to get nice page URIs that are case-insensitive? I can't even work out why the third example works.

  2. pah2
    Member
    Posted 3 years ago #

    More info:

    I have a page with the slug "GrimmReality" and post ID = 279. The following do not work:

    http://pah2.golding.id.au/GrimmReality/
    http://pah2.golding.id.au/index.php?pagename=GrimmReality
    http://pah2.golding.id.au/index.php?p=279

    And, in fact, if I edit the page, the Post Preview displays the 404 page!

  3. pah2
    Member
    Posted 3 years ago #

    I can confirm this isn't just a problem with my plugins. Here is a wordpress.com page:

    http://matt.wordpress.com/about/

    And here is it not working:

    http://matt.wordpress.com/About/

  4. pah2
    Member
    Posted 2 years ago #

    Is this a suitable bug for posting on WordPress Trac?

  5. Dgold
    Member
    Posted 2 years ago #

    Confirmed on my WP sites as well, the odd thing being what he said:

    any capitalization works fine on Category URI, but you have to type the exact capitalization on Page URI or it returns 404

    Seems like a bug to me

  6. pah2
    Member
    Posted 2 years ago #

    I have raised a ticket for this in trac:

    http://trac.wordpress.org/ticket/3451

Topic Closed

This topic has been closed to new replies.

About this Topic