Title: Permalink
Last modified: September 10, 2020

---

# Permalink

 *  Resolved [dddapple](https://wordpress.org/support/users/dddapple/)
 * (@dddapple)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/permalink-107/)
 * Saved permalink reverting back to default URL.
 * I noticed some of my old posts are revering back to default URL even though I
   have not done anything.
 * Default URL: example.com/breadcrumb/post123
    Intended Permalink: example.com/
   post123
 * I make sure the below is not checked:
    **Permalink Manager can automatically 
   update the custom permalink after post or term is saved/updated. If enabled, 
   Permalink Manager will always force the default custom permalink format (based
   on current Permastructure settings).
    -  This topic was modified 5 years, 9 months ago by [dddapple](https://wordpress.org/support/users/dddapple/).

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

 *  Thread Starter [dddapple](https://wordpress.org/support/users/dddapple/)
 * (@dddapple)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/permalink-107/#post-13385808)
 * Ok I did some testing and it seems that the intented permalink will revert back
   to default url whenever I update the post from the front-end.
 * I make sure the below is not checked:
    Permalink Manager can automatically update
   the custom permalink after post or term is saved/updated. If enabled, Permalink
   Manager will always force the default custom permalink format (based on current
   Permastructure settings).
 * How do I make sure that the intended permalink sticks even after updating.
 * I think it is also important to point out that it is a custom post type from 
   mylisting theme.
    -  This reply was modified 5 years, 9 months ago by [dddapple](https://wordpress.org/support/users/dddapple/).
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/permalink-107/#post-13386187)
 * Hi [@dddapple](https://wordpress.org/support/users/dddapple/),
 * I apologize for the inconvenience! The problem is in one of PHP function that
   is used to generate the custom permalink after single listing is added via front-
   end. It is triggered also for existing listing, but the permalink should be generated
   only for new listings.
 * I will fix this issue in the next release. Could you try to open:
    [wp-content/plugins/permlaink-manager/includes/core/permalink-manager-third-parties.php](https://plugins.trac.wordpress.org/browser/permalink-manager/trunk/includes/core/permalink-manager-third-parties.php#L876)
   file and replace the contents of line 879:
 * `if(!empty($permalink_manager_uris)) {`
 * with:
 * `if(!empty($permalink_manager_uris) && empty($permalink_manager_uris[$post_id])){`
 * Best regards,
    Maciej
 *  Thread Starter [dddapple](https://wordpress.org/support/users/dddapple/)
 * (@dddapple)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/permalink-107/#post-13386812)
 * Thank you Maciej.
 * Works like a charm!
 * I copied and paste the code as instructed.
    -  This reply was modified 5 years, 9 months ago by [dddapple](https://wordpress.org/support/users/dddapple/).
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/permalink-107/#post-13387289)
 * Hi [@dddapple](https://wordpress.org/support/users/dddapple/),
 * Thank you for letting me know 🙂 Please let me know if you experience any further
   difficulty.
 * Best regards,
    Maciej

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

The topic ‘Permalink’ is closed to new replies.

 * ![](https://ps.w.org/permalink-manager/assets/icon.svg?rev=2625166)
 * [Permalink Manager Lite](https://wordpress.org/plugins/permalink-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/permalink-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/permalink-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/permalink-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/permalink-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/permalink-manager/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/permalink-107/#post-13387289)
 * Status: resolved