Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
404 for a post with capital U in custom url
My blog post from last year has the url https://zuiker.com/desire-U2. It previously displayed fine in Txp v.4.8
My Txp now is v4.9.0.
The post is getting a 404 error.
I tried other configurations of the URL and the uppercase U seems to be the culprit. Why would that be?
Last edited by mistersugar (2026-03-06 15:46:52)
—-
Anton aka mistersugar – ‘yumi stap storian’ – antonzuiker.com
Offline
Re: 404 for a post with capital U in custom url
When saving articles, doesn’t Textpattern automatically generate a URL title, which is usually lowercase? How did you create an UPPERCASE one?
Have you changed servers recently?
edited to add
Server Configuration
Some web servers (like those running on Linux/Unix) treat URLs as case-sensitive by default. This means “example.com/Page” and “example.com/page” are considered different addresses. If the server is not configured to handle case insensitivity, users might encounter 404 errors or be directed to different pages based on capitalization.
URL Contains Upper Case Characters: How to Detect and Fix it
Last edited by bici (2026-03-06 17:46:29)
…. texted postive
Offline
Re: 404 for a post with capital U in custom url
Very strange. I was going to ask if you had any luck by changing the Use trailing slash pref, but the capital letter thing has thrown a spanner in that one.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: 404 for a post with capital U in custom url
Bloke wrote #342877:
Very strange. I was going to ask if you had any luck by changing the Use trailing slash pref, but the capital letter thing has thrown a spanner in that one.
Agree. FWIW: the article url title works on the demo server in the default and in /title-only permalink configurations. Very weird that it’s just the one article and not another. And it works if you make u lowercase?
TXP Builders – finely-crafted code, design and txp
Offline
Re: 404 for a post with capital U in custom url
jakob wrote #342878:
And it works if you make u lowercase?
Yes, the url works without any capital letters but one or more capital letters gets the error. (That is, it’s not just a capital U.)
I wrote and published a new post and same issue is happening when there’s a capital letter in the URL-only-title.
I don’t see any issues in the diagnostics panel. I think the htaccess is standard Txp code.
I will check with my web host if there’s something server side that changed.
—-
Anton aka mistersugar – ‘yumi stap storian’ – antonzuiker.com
Offline
Re: 404 for a post with capital U in custom url
bici wrote #342876:
Have you changed servers recently?
yes, I changed from CentOS/MariaDB to AlmaLinux/PerconaMySQL. I’m on Opaltack shared hosting.
Last edited by mistersugar (Yesterday 16:48:55)
—-
Anton aka mistersugar – ‘yumi stap storian’ – antonzuiker.com
Offline