Support » Fixing WordPress » 404 for posts if category base is inside permalink structure

  • Resolved lxg


    I have a problem when using permalinks.
    In my case, I use
    for the permalink structure and /news as category base. I need them to be identical for the Home-Page control plugin.

    Now everything works fine, only when I click to a single post (no matter whether the hpc plugin is activated or not), I get a 404 error. When I remove the /news from the structure, everything is fine again. So why isn’t this working on my playground?

    I’m sure this has already been discussed, but I couldn’t find anything. Could somebody give me a hint or a link on that? Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • lxg


    I’ve tested a bit more, there seems to be a bug in the rewrite conditions written by WP:

    I’ve included the following code into my site:
    <?php echo $_SERVER["REQUEST_URI"] . '<br />' . $_SERVER["QUERY_STRING"]; ?>
    with the “/news” stuff the output is


    without this


    If we can’t resolve the errro, could somebody possibly tell me how to correct the rewrite conditions?

    btw, I’m using Apache 2.0.55, if that helps.



    The problem is solved; I changed the category base, so WP runs fine again.

    I misinterpreted the installation advisory for the Home-Page Control plugin: It does need its own base to be prepended to the permalink structure, but this doesn’t affect the category base.

    Anyway, thanks for supporting. 😛

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 for posts if category base is inside permalink structure’ is closed to new replies.