WordPress.org

Ready to get started?Download WordPress

Forums

How to replace "date" with "archives" in archive permalinks (3 posts)

  1. demetris
    Member
    Posted 5 years ago #

    I want to use this permalink structure:

    http://domain.tld/%post_id%

    And the archive permalinks are constructed like this:

    http://domain.tld/date/1999/12

    Is there an easy way to replace "date" with some other word? (I want to use "archives").

    Thanks for reading,
    Demetris

  2. dkalamatianos
    Member
    Posted 5 years ago #

    I want to do exactly the same. Any update on that?

  3. dkalamatianos
    Member
    Posted 5 years ago #

    I actually found a way to do it myself.
    You need to modify the file /wp-includes/rewrite.php
    Search for "date/" and replace it with "archive/".
    It's not an optimal solution as you will need to replace the file every time you update WP, but at least it worked for me.

Topic Closed

This topic has been closed to new replies.

About this Topic