WordPress.org

Support

Support » Alpha/Beta » [Resolved] [4.0RC1] Nested categories without a category base not found

[Resolved] [4.0RC1] Nested categories without a category base not found

  • Hello!

    I’m using the 4.0 RC1 and trying to achieve a folder-like categories behavior. But nested categories can’t be found (screenshot).

    Category base is set to “.”(dot) so that there is no category base (screenshot)

    It works fine when using non nested categories (screenshot) or when category base is set to default (screenshot).

Viewing 5 replies - 1 through 5 (of 5 total)
  • That’s probably due to the changes we’re making in order to improve permalinks. And really that was never supported and was always kind of a hack

    The trick is that you’re using a Unix-internal directory structure exploited: ./ means “self” or “own directory”. So you’re making domain.com/./foo and that ‘redirects’ to domain.com/foo/ which doesn’t exist.

    Basically WP is now giving you the right error.

    You should use a plugin for this if you must.

    Moderator Sergey Biryukov

    @sergeybiryukov

    WordPress Dev

    Category base is set to “.”(dot) so that there is no category base (screenshot)

    I don’t think we support that. In your case, WordPress thinks that cours is a category and s1 is a page.

    You may have more luck with a plugin like Remove Category URL.

    FWIW it’s worked for 7 years, so I can see why it might be seen as a bug, but it’s more like an ‘Oops, that shouldn’t work’ because it’s bad HTML and it’s exploiting a flaw in WP that treated it as a real URL when it wasn’t.

    Moderator Sergey Biryukov

    @sergeybiryukov

    WordPress Dev

    Yeah, I’m familiar with the trick, I just don’t think it was ever officially supported.

    I’ve just tested this particular case (the dot trick + nested directories) on 2.3.3, 2.7.1, 3.2.1, 3.4.2, and it does not work anywhere.

    Thank for your quick answers and help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [4.0RC1] Nested categories without a category base not found’ is closed to new replies.