• I am using the 1.3 alpha 3 with Kubrick 1.2.5. I find that the mod_rewrite rules for category throws a 500 error. I copy-pasted the rules that WordPress generated in the Permalinks option.
    I find the mOnthly archives work fine, but the category ones do nt. Currently I have removed the offending rules, the site works fine. Except that the category archives throw a page not found error.
    Anyone had faced a similar issue? Is it a WordPress issue or a Kubrick issue?
    My url is http://xavierroy.com.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Jax

    (@jax)

    Found out that soemone else had this issue http://wordpress.org/support/6/12400.
    Used the solution described at http://serendipity.lascribe.net/changelog/2004/09/rewrite-problems/ to fix it.
    Now I think everything is ok.

    Well, I’m still having some problems with rewrite rules. The following don’t do what they are supposed to:

    RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /index.php?feed=_$1 [QSA]
    RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /index.php?feed=_$1&withcomments=1 [QSA]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /index.php?year=$1&monthnum=$2&paged=$3 [QSA]

    Those for the feeds do lead to valid feeds, but they are empty of posts / comments. The one for the monthly archives gives me the “no posts matched your criteria” line. Since in all cases, I don’t get 404 errors, LaughingLizard suggested that the URIs get picked up by another rule. This is all a bit over my head at the moment. All help is appreciated.
    My entire .htaccess file is here: http://serendipity.lascribe.net/htaccess.txt.

    I forgot to clarify that in all cases, the crufty versions work.

    Ok, found it myself. As rboren warned us, (.+) makes the rewrite rule “greedy” — in this case, too greedy. Solution, as I write in the edited part of my post about rewrite problems is to replace (.+?) by ([_0-9a-z-]+).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Category Archive not working’ is closed to new replies.