WordPress.org

Forums

how to auto overwrite existing post/permalink (1 post)

  1. greggomez
    Member
    Posted 6 years ago #

    hi,

    is there a hack to automatically overwrite existing post or permalink if the title is the same?

    For example, i made a post with title "wordpress rules" and it made a permalink of
    example.com/wordpress-rules.htm

    then on another day, i thought i should write a new post (not edit the old post) and used the title "wordpress rules" again.
    i want the output permalinks to be
    example.com/wordpress-rules.htm
    and not
    example.com/wordpress-rules-2.htm
    as wordpress would automatically add an increment number to the permalinks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags