WordPress.org

Ready to get started?Download WordPress

Forums

Keeping "date" in date archive URLs (1 post)

  1. theonetruebix
    Member
    Posted 3 years ago #

    So, if one uses permalinks ending in post_id

    http://example.com/posts/2010

    WordPress automatically inserts "date" into the date archive URLs so that it can distinguish between the year 2010 and the post_id 2010

    http://example.com/posts/date/2010

    But suppose one isn't using permalinks ending in post_id but actually wants the word "date" to remain in the date archive URLs? If one has permalinks such as

    http://example.com/posts/a-post-title/

    is there any way to force WordPress to still use "date" in the date archive URLs?

    http://example.com/posts/date/2010/12

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic