Change Custom Post Type Permalinks in WordPress
Permalink structure is important when it comes to search engine optimization. Not only do these links appear nice to the human eye, but they are easier to scan for bots. But what about the custom post types permalink structure?
Here, we’ll show you how to create custom permalinks for custom post types. It may help in SEO as well as engage readers by helping them identify the point of the content you’re creating.
What Are Custom Post Types?
Custom Post Types—often abbreviated CPTs—are ways you can get a Posts- or Pages-like interface for whatever type of content you desire. It doesn’t really matter what you call a CPT you create or what you use it for, the limits are your imagination. So we’ll cover all the aspects of how you do this today!
Why Change Custom Post Type Permalinks in WordPress?
You can customize permalinks by visiting Settings » Permalinks page. However, you will notice that you can only change permalink structure for blog posts.
If you are using custom post types or custom taxonomies on your website, then WordPress will use the default permalink structure for those.
For example, if you have a custom post type called ‘Movies’, then its URL structure will look like this:
If your custom post type has archives enabled, then the archive page URL will look like this:
This URL scheme is quite SEO-friendly and in most cases, you don’t need to change it. However, sometimes you may want to customize it to meet your own needs.
How to Change Custom Post Type Permalinks in WordPress?
Install and activate the “Custom Post Type Permalinks” plugin. This tool doesn’t have its own section like some of the others you may use. Instead, it expands what is already available in the WordPress settings area.
In the Permalink Settings screen, you’ll need to scroll down. Near the bottom, there will be a section specifically for custom post types. It is here where you’ll make your adjustments for any custom post types you have in WordPress.
You need to know the taxonomy of the elements you want to display. For example, “/%postname%/” will display the name of the post in the URL. This will automatically use the hyphenated title for Internet use.
Once you’re done editing, click the “Save Changes” button.