You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I think this would be a good fit for wp cli (see #80 ). I built my own custom cli command for this but I stored it as a custom meta field rather than using Shared Counts' data structure: https://www.billerickson.net/code/wp-cli-save-permalink/
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.
The text was updated successfully, but these errors were encountered: