Forums

archiving posts (5 posts)

  1. kaifanun
    Member
    Posted 2 years ago #

    Hello,

    My archiving is not working. I have changed the archiving to do weekly and now when I click on the week dates to display that weeks articles, I get "no posts matched your criteria".

    can someone point me to right direction where to look?

    thank you.

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    Try updating your permalink structure via Administration > Settings > Permalinks

  3. kaifanun
    Member
    Posted 2 years ago #

    thanks for the info. I did play around with the 4 options that I have in the permalink settings but no success.

    Little more info:
    In the permalinks i'm using: /index.php/archives/%post_id%
    When I click on the weekly dates link I get ?m=2009&w=10

    since, originally WP or the theme that i'm using, is set to month, I'm thinking it is trying to pass month and then the post ID? than what is that 2009, year?

    assistance appreciated greatly.

  4. MichaelH
    Volunteer
    Posted 2 years ago #

    I have no problem using the default permalinks, with the WordPress Default theme, and no plugins installed.

    Using <?php wp_get_archives('type=weekly'); ?> in wp-content/themes/default/sidebar.php

  5. kaifanun
    Member
    Posted 2 years ago #

    Still having the issue. When I change the sidebar widget to display weekly instead of monthly, <?php wp_get_archives('type=weekly');, the archiving page would not work. I get "no posts matched your criteria" when link is clicked from the sidebar.

    I have narrow down to the link that gets associated with sidebar archive widget. When clicked it is passing ?m=2009$w10 From what I was able to understand is that it is trying to pass info by year and by week number, hence w10 meaning week 10.

    I also tried different options in permalink as Michael has suggested, that didn't work either.

    any other options?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.