ajkessel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Random Access Forbidden Errors for Both Users and AdminsThanks for the tip. Turns out it was mod_evasive at fault; the default settings are too aggressive for normal WordPress use, especially as admin where you will have a lot of hits to the Apache server in a short period of time. Tuning down mod_evasive seems to have eliminated the problem.
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsRight — the first thing I did when I started noticing this topic is deactivating all plugins. That didn’t help.
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsWell, I’ve found my problem, but not my solution. How do I track down why the /category/ base is not necessary?
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsI’m not aware of any plugin or hack to remove category; although, testing it now, it does seem to work if I do example.com/gizmos (i.e., it maps to a category). But I don’t know what setting would do that. Any tip for how to trace down the problem?
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsMoshu: I’m not trying to do that. Whether I specify a “category base” or not (leave it blank) under Permalinks options, my “pages” still don’t work. It does seem like the problem is WordPress is improperly detecting the page names as category names, but not sure why.
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsI’ve temporarily fixed the problem by inserting these rewrites before everything else:
RewriteRule ^about index.php?pagename=about [L]
RewriteRule ^pgp-key index.php?pagename=pgp-key [L]
RewriteRule ^randomplay index.php?pagename=randomplay [L]Not ideal but at least the pages are back up.
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsI finally found a URL form that works with my current setup:
https://adam.rosi-kessel.org/weblog/index.php?pagename=about
So it seems like what’s happening is https://adam.rosi-kessel.org/weblog/about is getting mapped to category_name=about, where it should really get mapped to pagename=about. I’ve identified the problem but not the solution. Below is the output of my advanced permalinks debug — unfortunately the Advanced Permalinks author provides no support. Any advice here?
Array
(
[robots.txt$] => index.php?robots=1
[.*wp-atom.php$] => index.php?feed=atom
[.*wp-rdf.php$] => index.php?feed=rdf
[.*wp-rss.php$] => index.php?feed=rss
[.*wp-rss2.php$] => index.php?feed=rss2
[.*wp-feed.php$] => index.php?feed=feed
[.*wp-commentsrss2.php$] => index.php?feed=rss2&withcomments=1
[feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]
[(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]
[page/?([0-9]{1,})/?$] => index.php?&paged=$matches[1]
[comments/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]&withcomments=1
[comments/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]&withcomments=1
[comments/page/?([0-9]{1,})/?$] => index.php?&paged=$matches[1]
[search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?s=$matches[1]&feed=$matches[2]
[search/(.+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?s=$matches[1]&feed=$matches[2]
[search/(.+)/page/?([0-9]{1,})/?$] => index.php?s=$matches[1]&paged=$matches[2]
[search/(.+)/?$] => index.php?s=$matches[1]
[tag/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
[tag/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
[tag/(.+?)/page/?([0-9]{1,})/?$] => index.php?tag=$matches[1]&paged=$matches[2]
[tag/(.+?)/?$] => index.php?tag=$matches[1]
[author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?author_name=$matches[1]&feed=$matches[2]
[author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?author_name=$matches[1]&feed=$matches[2]
[author/([^/]+)/page/?([0-9]{1,})/?$] => index.php?author_name=$matches[1]&paged=$matches[2]
[author/([^/]+)/?$] => index.php?author_name=$matches[1]
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&paged=$matches[4]
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]
[([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]
[([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]
[([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&paged=$matches[3]
[([0-9]{4})/([0-9]{1,2})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]
[([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&feed=$matches[2]
[([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&feed=$matches[2]
[([0-9]{4})/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&paged=$matches[2]
[([0-9]{4})/?$] => index.php?year=$matches[1]
[[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
[[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
[[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
[[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/trackback/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&tb=1
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&feed=$matches[5]
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&feed=$matches[5]
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&paged=$matches[5]
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)(/[0-9]+)?/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&page=$matches[5]
[[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/?$] => index.php?attachment=$matches[1]
[[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
[[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
[[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
[.+?/[^/]+.html/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
[.+?/[^/]+.html/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
[.+?/[^/]+.html/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
[.+?/[^/]+.html/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
[(.+?)/([^/]+).html/trackback/?$] => index.php?category_name=$matches[1]&name=$matches[2]&tb=1
[(.+?)/([^/]+).html(/[0-9]+)?/?$] => index.php?category_name=$matches[1]&name=$matches[2]&page=$matches[3]
[.+?/[^/]+.html/([^/]+)/?$] => index.php?attachment=$matches[1]
[.+?/[^/]+.html/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
[.+?/[^/]+.html/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
[.+?/[^/]+.html/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
[(.+?)/?$] => index.php?category_name=$matches[1]
[.+?/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
[.+?/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
[.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
[.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
[(.+?)/trackback/?$] => index.php?pagename=$matches[1]&tb=1
[(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
[(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
[(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2]
[(.+?)(/[0-9]+)?/?$] => index.php?pagename=$matches[1]&page=$matches[2]
[(.+?)/([^/]+).html/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&name=$matches[2]&feed=$matches[3]
[(.+?)/([^/]+).html/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&name=$matches[2]&feed=$matches[3]
[(.+?)/([^/]+).html/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&name=$matches[2]&paged=$matches[3]
[category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
[category/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
[category/(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2]
[category/(.+?)/?$] => index.php?category_name=$matches[1]
)Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsI am not aware of having switched any settings. Obviously something happened because the pages were working before and are not working now; I suspect it was an upgrade, either of the main package or a plugin, but I didn’t notice for a while that the problem was happening, so I haven’t been able to trace it back.
I agree the date thing might be related, but the reason the “about” page doesn’t have a date is that it’s a page, not a post. If I insert the published date for the “about” page:
https://adam.rosi-kessel.org/weblog/2007/01/22/about/
It automatically redirects back to https://adam.rosi-kessel.org/weblog/about/, which is broken.
I do have a permalink migration setting defined for migrating from a pre-WordPress version of my blog; it is ‘%category%/%postname%.html’. As I understand it, this should only be redirected URLs with ‘.html’ at the end, so should not have any effect for the problem discussed here.
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsAnother interesting data point — if I navigate right to the page_id, e.g.,
https://adam.rosi-kessel.org/weblog/page_id=2, it actually redirects to the correct page (which is /about), but then goes to the 404.
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsI just inserted a debug command in build_query_string() in classes.php to see the query_string as it’s being built. When I request the page “about”, the query_string is category_name=about. This seems like possibly the problem — it should be (I believe) name=about, since the page has no category. Does this help at all?
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsSorry, as links: main site; broken link that used to work.
I’m pretty sure I don’t have any nested folders. I’m still puzzled at how a plugin or theme could affect only pages and not posts. What I’d really like to see is some sort of trace of how it’s trying to resolve the pages and where the breakage is happening.
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsMy site is <https://adam.rosi-kessel.org>.
All of the pages in the righthand column are broken. E.g. <https://adam.rosi-kessel.org/weblog/about>.
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsNo SEO plugins.
Active plugins:
Advanced Permalinks
Akismet
Bad Behavior
Batch Categories
Blosxom Rewrite
CountPosts
Edit Comments
Google Code Prettify
Interlinks
LiveCalendar
Markdown
Search & Replace
ShareThis
SimpleTags
Twitter widget
Update Manager
Viper’s Video QuicktagsBut, again, disabling all plugins doesn’t seem to fix the problem.
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsI’ve update many times — I’ve been using WordPress for several years. The updates were generally continuous, though, so I wouldn’t have jumped from 2.1 to 2.6.
I believe all the deprecated errors are in fact coming from plugins or themes. I did test disabling all plugins and still no “pages” can be displayed. I don’t think there is any reason to think the “deprecated” warnings relate to the “pages” problem, is there?
Using apache 1.3, PHP 5.2.0, MySQL 5.0.
Also no sign the database is corrupt. Everything works except pages. If I create a brand new page, it doesn’t work either.
Forum: Fixing WordPress
In reply to: “Pages” all give 404 errorsBy the way, I’m pretty sure the last two “cannot modify header information” warnings are also caused by the insertion of the debug errors immediately above them. I’m also thinking the canonical.php errors are not real issues, since here there is no specified port or query string in the URL.