Skip to content

Automated tool for saving old URLs #61

@billerickson

Description

@billerickson

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.

  1. 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.

  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions