Forums

Year archives not working with custom permalink (1 post)

  1. jsruok
    Member
    Posted 6 years ago #

    Hello,

    I'm using custom permalink structure "/archives/%year%/%monthnum%/%day%/%postname%/". All the posts, the day and month archives work ok, but year archive (e.g. "/archives/2006/") returns error 404.

    If I change the permalink to a default one (/year/month/day/postname/) the year archive works again.

    Any idea if this is a bug or am I missing something as a WP newbie?

    Thanks for the help in advance.

    [EDIT]
    It seems that after cache expired (or something of the like), the true nature of the problem was revealed.

    The year archive does not work if I *also* have a *page* called "archive", in which case myblog/archive/2006/ returns the archive page instead of year 2006 archives.

    Sorry for the mess.

    Is there any way to avoid this page-and-custom-permalink overload?

    Thanks (again).
    [/EDIT]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags