Title: Misbehaves with Duplicate Posts
Last modified: July 3, 2019

---

# Misbehaves with Duplicate Posts

 *  Resolved [Petr](https://wordpress.org/support/users/csclubtauranga/)
 * (@csclubtauranga)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/misbehaves-with-duplicate-posts/)
 * When duplicating posts it retains the original slug+(-2) designation. No matter
   clearing this redirect, I cannot update the permalink to a new one, derived from
   the new name of the page.
 * The only solution is to clear redirects, deactivate plugin, update slug and activate
   plugin. Not ideal.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/misbehaves-with-duplicate-posts/#post-11695611)
 * Hi Petr
 * Are you using any plugin for duplicating the post? If yes, then which plugin 
   you are using?
 * Regards,
    Sami
 *  Thread Starter [Petr](https://wordpress.org/support/users/csclubtauranga/)
 * (@csclubtauranga)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/misbehaves-with-duplicate-posts/#post-11695670)
 * Hi Sami,
 * Yes, I’m.
 * It’s Duplicate Post 3.2.2 [https://wordpress.org/plugins/duplicate-post/](https://wordpress.org/plugins/duplicate-post/)
 * But primarily, if I go to update manually the generated permalink on the post,
   it goes back to automatically generated.
 * Hope it helps.
    Thank you.
 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/misbehaves-with-duplicate-posts/#post-11695723)
 * Petr, Does it only happens with the duplicated post or for all the post?
 * Regards,
    Sami
 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/misbehaves-with-duplicate-posts/#post-11695784)
 * Petr, I have installed the Duplicate Post plugin, duplicated the post, and manually
   changed the permalink and all works fine for me.
 * If you are trying to use the “Regenerate button” then it may not work until or
   unless you use `%title%` instead of `%postname%`.
 * Let me know your thoughts.
 * Regards,
    Sami
 *  Thread Starter [Petr](https://wordpress.org/support/users/csclubtauranga/)
 * (@csclubtauranga)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/misbehaves-with-duplicate-posts/#post-11695792)
 * Only duplicated.
 * I think, it sort of works as expected, because 1) duplicate post issues a new
   slug with the name e.g. post-2 . 2) Your plugin just redirects it to wherever
   i have defined in the settings.
 * The problem is, because we don’t have access to the slug field, but instead to
   permalink field on the post, there’s no way to update the slug of the duplicated
   post and hence set a more meaningful url for the post.
 * If I understand it correctly…
 * UPDATE: Just seen your reply. I’ll try. Thank you.
    -  This reply was modified 6 years, 11 months ago by [Petr](https://wordpress.org/support/users/csclubtauranga/).
 *  Thread Starter [Petr](https://wordpress.org/support/users/csclubtauranga/)
 * (@csclubtauranga)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/misbehaves-with-duplicate-posts/#post-11695826)
 * Hi Sami,
 * Well done. Works, as described.
 * Many thanks!
    Petr
 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/misbehaves-with-duplicate-posts/#post-11696011)
 * Great to hear that 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Misbehaves with Duplicate Posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/permalinks-customizer_fff1d5.svg)
 * [Permalinks Customizer](https://wordpress.org/plugins/permalinks-customizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/permalinks-customizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/permalinks-customizer/)
 * [Active Topics](https://wordpress.org/support/plugin/permalinks-customizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/permalinks-customizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/permalinks-customizer/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/misbehaves-with-duplicate-posts/#post-11696011)
 * Status: resolved