WordPress.org

Forums

[resolved] wp_get_archives confusion (1 post)

  1. Jay
    Member
    Posted 2 years ago #

    wp_get_archives is not playing nice with my permalinks. I am using
    <?php wp_get_archives('type=yearly'); ?>
    and
    <?php wp_get_archives('type=monthly'); ?>
    It redirects me to index.php? Works perfectly on local using archive.php, not sure why its taking me to index.php. Permalink structure is like so /%postname%/%post_id%/

    Thanks for any suggestions.

Topic Closed

This topic has been closed to new replies.

About this Topic