Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-12-22 20:17:04

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Clean URL randomly giving 404 error

I’m having an issue with clean url’s on a new site i’m working on which seem to randomly throwing 404 errors.

For example this clean url throws a 404 error and it’s messy url equivalent show fine.

An article with the same settings clean url shows file

Can any one give me some direction on what might be going on? This is the first time I’ve seen something like this in the few years I’ve used TXP. I have to have this site up by the end of next week.

-Here’s my diagnostic info

I did a few tests and it seems like I am getting these 404 errors if the article url title is the same as a image/link/file category name. This is weird, it’s not like you can spit out a image/link/file category without a page or article containing it can you?

The issue was that the article url title was the same as a image/file/link category. Knowing is half the battle.

Last edited by ecklesroad (2012-12-22 21:43:13)

Offline

#2 2012-12-23 09:11:29

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Clean URL randomly giving 404 error

I cannot reproduce this on a stock install of Textpattern 4.5.4. Please post your diagnostics info.

Last edited by wet (2012-12-23 09:12:47)

Offline

#3 2012-12-24 19:00:57

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: Clean URL randomly giving 404 error

I’m going to just follow the rule of don’t let a category name and an article url title match.

Offline

#4 2012-12-24 20:09:50

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Clean URL randomly giving 404 error

I have a working TXP installation where sections & category names and category names & article URL are identical. No problem.

advokathamburg.de/kategorie/scheidung/
advokathamburg.de/scheidung
advokathamburg.de/kategorie/strafrecht/
advokathamburg.de/artikel/19/strafrecht


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#5 2012-12-24 20:16:38

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: Clean URL randomly giving 404 error

well, what the heck is my problem then? Maybe a plugin?

Offline

#6 2012-12-24 20:27:48

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Clean URL randomly giving 404 error

Do you use something like gbp_permanent_links?

Maybe it’s the image/link/file category name part?
I only posted about article category.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#7 2012-12-24 20:29:39

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: Clean URL randomly giving 404 error

I was using gbp_permanent_links, but it was causing more problems for me than it was worth. I’m not using it anymore.

Offline

#8 2012-12-26 08:19:47

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Clean URL randomly giving 404 error

Well, no quick idea from my side.

  1. Activate debug mode and check the output on the 404 pages (Not sure how deep TXP is able to debug a 404). Plug-Ins: Have a look on the running order. For specific ‘suspects’ switch up to 1 or down to 9.
  2. Deactivate all plug-ins and try to reproduce the problem.
  3. Switch on one plug-in after another and try to reproduce the problem (Have a look on the running order. For specific ‘suspects’ switch up to 1 or down to 9.)
  4. Try a fresh TXP install and try to reproduce the problem.

Sorry but that’s kind of my standard procedure for random errors (or if a dev like wet can’t reproduce error description).

Last edited by merz1 (2012-12-26 08:20:10)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#9 2012-12-26 14:00:58

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: Clean URL randomly giving 404 error

Thanks Markus, I’ll give that a try!

Offline

Board footer

Powered by FluxBB