WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Static front + posts page + matching permalinks = 404? (2 posts)

  1. here
    Member
    Posted 6 years ago #

    I am getting 404 errors when viewing single post pages with a custom permalink structure as:

    /news/%year%/%monthnum%/%postname%/

    It happens that /news/ is also the path to the 'posts page' set at Options -> Reading.

    This seems to make sense as then posts would show up at

    /news/

    and the single post permalink structure follows below /news/xxx/xxx/xxx. However, it returns 404 when both the posts page and custom permalinks use /news/.

    This is fixed by eliminating the conflict with /news/ by changing the permalink structure to:

    /ttt/%year%/%monthnum%/%postname%/

    Is this worth submitting as a bug, or am I missing something I can fix.

  2. here
    Member
    Posted 6 years ago #

    Resolved:

    The conflict was with the category and tag bases also set at Options -> Permalink. This produces 404:

    custom perm:
    /news/%year%/%monthnum%/%postname%/

    cat base:
    /news/
    tag base:
    /news/

    ---

    Change cat and tag bases to fix:

    /news/cat/
    /news/tag/

Topic Closed

This topic has been closed to new replies.

About this Topic