WordPress.org

Ready to get started?Download WordPress

Forums

year archive on non-root blog doesn't show 'Archive for ...' (2 posts)

  1. forgetcolor
    Member
    Posted 6 years ago #

    I'm using a non-root blog on /blog with a static front page. When I browse any of the following:

    domain.com/blog/2008/03
    domain.com/blog/category/tagname

    then the page header is 'Archive for ...', and the little text on the sidebar that says 'You are currently browsing the ... archives for ...' show up.

    But when I visit:

    domain.com/blog/2008

    while it shows the blog posts for 2008, it does not show the 'Archive for ...' header or the 'You are currently browsing' text in the sidebar.

    I'm using the default theme. The tests appear to be in sidebar.php and archive.php with is_year() but for some reason they aren't getting triggered.

    Is there something strange about a non-root blog that is causing this (or anything else)? I've really made no changes to a default 2.3.3 install other than following the instructions at:

    http://codex.wordpress.org/Pages

    under WordPress as a CMS and Making your blog appear in a non-root folder.

    thanks!

  2. forgetcolor
    Member
    Posted 6 years ago #

    bump and more info:

    I tried again with a new install, and the problem rears itself only after I add /blog to the front of my custom permalink structure (which now reads /blog/%year%/%postname%/). Before I add this (and even with a static home, blog home on /blog) the year archive works as expected. After, it doesn't.

    Ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic