Permalink with duplicate titles (3 posts)

  1. Inactive
    Posted 8 years ago #

    Hello, is it possible to use same post titles for different categories with pretty permalink?

    I want to have /%category%/%postname%/ permalinks and two posts with the same title "Post title" in different categories "Category 1" and "Category 2"
    So I want following links:

    But when I publish the second post, then its URL is changed to post-title-2, so URL is http://www.example.com/category-2/post-title-2.

    So, I want duplicities in post titles, but not in the whole URL, because of other category. Is there an any way to achieve this?

  2. Kafkaesqui

    Posted 8 years ago #

    Here's what I use to allow for duplicate post titles/post slugs:


  3. Inactive
    Posted 8 years ago #

    Thank you very much. Resolved!

Topic Closed

This topic has been closed to new replies.

About this Topic