WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Why default archive monthly url not working? (3 posts)

  1. Navjot Singh
    Member
    Posted 6 years ago #

    Default archives url on every wordpress install is http://www.yoursite.com/2007/08/

    But on my blog it is http://www.yoursite.com/date/2007/08/

    Why it is like this? How can I revert to default structure?

    BTW I use this type of permalink option for wordpres: /postid/post title/

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    If you use %post_id% within the first three sections of your permalink structure, WordPress forces the "date" indicator in there so it can tell the difference between dates and post IDs in the URL.

    Otherwise it might not be able to tell whether http://example.com/2007 meant the year 2007 or the post with an id of 2007.

    Don't want "date"? Don't use %post_id% in your permalinks.

  3. Navjot Singh
    Member
    Posted 6 years ago #

    Thanks...was guessing this reason only. Thanks for the information. Query resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic