Version 1.13.0

Default Permalink Version 1.13.0 Changelog
  • Added WP-CLI commands for the old URLs (old paths) of pages and other posts: wp default-permalink old-path list / add / delete. list shows the stored old paths and the URL they redirect to.
  • Registering an old URL with wp default-permalink old-path add <ID> <path> redirects it (301) to the new URL with the same mechanism as 1.12.0 (only for requests that would return 404). This lets administrators redirect the old URLs of pages converted before 1.12.0 and of pages whose slug was changed by hand (for example in the editor). The path can be given as a relative path, a path from the root, or a URL of this site.
  • Values that would not work or are likely mistakes are refused, such as a URL used by another post, the current URL of the post, or a URL on another site. For a post that is not published yet, the path is registered with a warning.
  • wp default-permalink old-path delete <ID> <path> removes one old path, and --all removes all old paths of the post, for example to clean up a path that was recorded by mistake.
  • wp default-permalink status now shows the number of stored old paths.
  • What is recorded automatically (published pages converted by the plugin from 1.12.0 on), the front end and the admin screens are unchanged.

Download Default Permalink 1.13.0 (zip)

Copied title and URL