WordPress.org

Ready to get started?Download WordPress

Forums

Monthly archive not linked right (5 posts)

  1. nieuws
    Member
    Posted 8 years ago #

    For some reason the monthly archive link on my website http://www.nieuwszicht.com doesn't work while the daily archive does.

    For example: http://www.nieuwszicht.com/01/11/2005/ works
    but: http://www.nieuwszicht.com/11/2005/ doesn't

    I don't know what the correct link to the monthly archive is. Iam using /%category%/%day%/%monthnum%/%year%/%postname% in the permalink settings if that's relevant.

  2. nieuws
    Member
    Posted 8 years ago #

    I think the error is located somewhere around here:

    if ($arcresults) {
    foreach ($arcresults as $arcresult) {
    $url = get_month_link($arcresult->year, $arcresult->month);
    $text = sprintf('%s %d', $month[zeroise($arcresult->month,2)], $arcresult->year);
    echo get_archives_link($url, $text, '','<h3>','</h3>');

    Now the archive links to: /11/2005/ for example and it needs to link to: /?m=200511

  3. nieuws
    Member
    Posted 8 years ago #

    bump

  4. ic3y
    Member
    Posted 8 years ago #

    Anyone?

  5. nieuws
    Member
    Posted 8 years ago #

    Anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.