-
Notifications
You must be signed in to change notification settings - Fork 16
Description
We currently have support for adding custom URLs to query along with a post's permalink, but adding them is a manual process. If you are changing your URL structure and have lots of content, it would be nice to have an automated approach.
I imagine it adding a settings page with two big buttons.
-
Copy all URLs to Custom URLs (or something like that). This goes through every post in every supported post type and adds the current permalink as a custom URL. This should be run prior to changing permalink structure.
-
Delete Duplicates. This goes through every post in every supported post type and checks to see if the custom URLs are all unique. If there are any duplicates, or any of them matches the current permalink, it removes the duplicate custom URL. This should be run after changing permalink structure.
I think this would be a good fit for an addon plugin.