The MU forums have moved to WordPress.org

Category 'previous entries' result in 404 (2 posts)

  1. danalog
    Member
    Posted 17 years ago #

    I've set the permalink structure to /%category%/%postname%/ but now the 'previous entries' links result in a 404 not found.

    I've tried lots of things but noting is working. I think the solution lies in the rewrite_rules field in the options table. But I can't find the right rule to edit. Must be in one of these rules:

    s:52:"index.php?category_name=$matches[1]&feed=$matches[2]";
    s:42:"category/(.+?)/(feed|rdf|rss|rss2|atom)/?$";
    s:52:"index.php?category_name=$matches[1]&feed=$matches[2]";
    s:35:"category/(.+?)/page/?([0-9]{1,})/?$";
    s:53:"index.php?category_name=$matches[1]&paged=$matches[2]";
    s:17:"category/(.+?)/?$";
    s:35:"index.php?category_name=$matches[1]";

    s:57:"index.php?category_name=$matches[1]&name=$matches[2]&tb=1";
    s:46:"(.+?)/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$";
    s:69:"index.php?category_name=$matches[1]&name=$matches[2]&feed=$matches[3]";
    s:41:"(.+?)/([^/]+)/(feed|rdf|rss|rss2|atom)/?$";
    s:69:"index.php?category_name=$matches[1]&name=$matches[2]&feed=$matches[3]";
    s:34:"(.+?)/([^/]+)/page/?([0-9]{1,})/?$";
    s:70:"index.php?category_name=$matches[1]&name=$matches[2]&paged=$matches[3]";
    s:26:"(.+?)/([^/]+)(/[0-9]+)?/?$";
    s:69:"index.php?category_name=$matches[1]&name=$matches[2]&page=$matches[3]";
    s:20:".+?/[^/]+/([^/]+)/?$";

    Anyone up for a solution?

  2. danalog
    Member
    Posted 17 years ago #

    I sortof fixed it by setting a category directory /xxxx/, but this is a workaround...

About this Topic