WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Archive links have incorrect URLs (7 posts)

  1. christhomas32
    Member
    Posted 1 year ago #

    I am trying to create an archive template in my self made theme. I am running into an issue that my <?php wp_get_archives('type=monthly'); ?> gives me the correct article name, but the link sends me to http://www.example.com/2013/07/ instead of http://www.example.com/june-2013/

    Where can I adjust the path for the wp_get_archives php call? Or is there a better way to address this issue?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    What permalink structure are you currently using?

  3. christhomas32
    Member
    Posted 1 year ago #

    http://www.onlinearizonahomes.info/sample-post/

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    No - what permalink structure are you using?

  5. christhomas32
    Member
    Posted 1 year ago #

    I may still be misunderstanding you, but /%postname%/ is what I have in my custom structure.

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    When using the /%postname%/ structure, all monthly archive urls use the format YYYY/MM

  7. christhomas32
    Member
    Posted 1 year ago #

    Ok, i'll see what I want to do to adjust for this, thanks esmi

Topic Closed

This topic has been closed to new replies.

About this Topic