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 3 years, 6 months ago by dddapple.
Hi @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 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
Thank you Maciej.
Works like a charm!
I copied and paste the code as instructed.
-
This reply was modified 3 years, 6 months ago by dddapple.
Hi @dddapple,
Thank you for letting me know 🙂 Please let me know if you experience any further difficulty.
Best regards,
Maciej