Support » Plugin: Permalink Manager Lite » Duplicate urls when save as draft is used

  • Resolved akerssies

    (@akerssies)


    Hello,

    Is this behaviour intended or is it a bug in the plugin code?

    Steps to reproduce:

    Step 1: Create a new post.
    Step 2: Save post as draft.
    Step 3: Create a new post with the same title as the first post.
    Step 4: Save post as draft
    Step 5: Publish both posts.

    Result: both urls are the same.

Viewing 1 replies (of 1 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @akerssies,

    it is not a bug, in this particular case I had to compromise between two situations.

    Many months ago, some users requested me to make my plugin save the custom permalinks not only when the post/page is published, but also when they are saved as drafts. The problem here is that the native slug is generated only after the post/page is published, so it cannot be used also in the custom permalinks. That is why, my plugin uses the actual title instead of the native slug for draft posts.

    The custom permalinks are not changed (by default) after the post draft is published (and native slug generated). Therefore, both custom permalinks are the same – as they were initially saved when the slug was not available and their titles were used instead.

    Best regards,
    Maciej

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.