How to Create Custom Permalinks in WordPress
Do you want to customize the permalinks for your WordPress posts, pages, and other post types? We've had users reach out to us wanting to customize this safely without breaking their links. In this video, we'll show you how to create custom permalinks in WordPress without affecting your SEO.
OptinMonster is running their best deal of the year this Black Friday with 35% off. Take a look and purchase OptinMonster today here:
This video is sponsored by MonsterInsights, take a look at MonsterInsights here:
For the discount, use our code: WPBVIP
At the end of the video, we will show you how to create redirects but for sites with a visitor base, we would recommend caution before changing permalinks. For your standard permalinks, you can go under Settings, Permalinks and modify the permalink structure there. We normally recommend the post name structure for most sites.
Below the standard permalinks, there is the option to change the category and tag base. This would mean rather than your site/category/name it would be what you set here replacing category in the URL.
For individual posts or pages, with the block editor, you would go next to the title for modifying or in the document settings under permalink. This will allow you to change the final part of the permalink with the post's name only to let you make it the correct name that you are wanting.
For changing a category you would go under Posts, Categories, and click the edit link beneath the category name you want to modify. You will both have the option to change the name you see on the back end of your site as well as the slug which is what is added in the URL.
For editing the author slug we would recommend using the Edit Author Slug plugin found here:
With that active, you can go under Users, All Users and edit the user who's slug you want to modify. For the permalink for authors in general if you wanted to change that then you would want to go under Settings, Edit Author Slug.
For even greater control over your permalinks, we would recommend the Custom Permalinks plugin found here:
With the plugin activated you can edit the post you want and scroll down to find the custom permalink editor below. This will give you the power to make this specific content have any permalink you want. You can also visit the categories themselves to customize it there.
With the permalinks changed this can cause 404 errors when trying to visit their old links which is a greater problem for already set up sites. To solve this we will be using the Redirection plugin found here:
this will allow you to redirect the posts from their old locations to your new custom permalink.
If you liked this video, then please Like and consider subscribing to our channel here for more WordPress videos.
Feel free to take a look at the written version of this tutorial here:
Check us out on Facebook
Follow us on Twitter
Check out our website for more WordPress Tutorials