Exclude content types

Permalink Manager automatically generates custom permalinks for all new posts and terms, but you can also choose to restrict it to only selected post types and taxonomies. This can be useful if you want to maintain the original permalinks for certain content types, such as pages and posts.

As previously stated, the plugin is enabled by default for all public post types and taxonomies. For instance, you may choose to apply the new permalink formats JUST for WooCommerce permalinks (products, product categories, and tags), while keeping the all other URLs intact.

To choose which custom post types and taxonomies should be ignored by the plugin, go to "Tools -> Permalink Manager" and click on the "Settings" tab. In the bottom section, you will find the "Exclude content types" field. Select all the content types whose permalinks you do not want to be changed by Permalink Manager.

Remember, if you exclude a content type, any custom permalinks that have already been saved for that content type will still be in place and will not be automatically removed. However, the plugin will no longer generate and save custom permalinks for new items of that type. This is done to prevent losing SEO traffic due to URLs that might become unavailable and display a 404 error.

To remove custom permalinks and redirects from the database, go to "Tools -> Permalink Duplicates" and click "Fix custom permalinks & redirects". As a consequence, the custom permalinks array will no longer contain the excluded post & term items.

Fix custom permalinks

"Exclude content types" strict mode

Since the 2.2.20 version, Permalink Manager ignores custom post types and taxonomies that have both the "query var" and "rewrite" properties set to false. This modification was done primarily to prevent the plugin from saving custom permalinks for content items that are not supposed to have their own public URLs.

If you need to employ them for whatever reason, please make sure that the ""Exclude content types" strict mode" option is turned off in the options. As a result, the content types that are excluded by default will appear in the "General settings -> Exclude content types" section.

Exclude content types (strict mode)

Go up