Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 Yesterday 15:46:18

mistersugar
Member
From: North Carolina
Registered: 2004-04-13
Posts: 172
Website

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 (Yesterday 15:46:52)


—-

Anton aka mistersugar – ‘yumi stap storian’ – antonzuiker.com

Offline

#2 Yesterday 17:39:10

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,282
Website Mastodon

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 (Yesterday 17:46:29)


…. texted postive

Offline

#3 Yesterday 19:24:35

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,501
Website GitHub

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

#4 Yesterday 20:37:55

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,228
Website GitHub

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

Board footer

Powered by FluxBB