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.

This video is sponsored by MonsterInsights, take a look at MonsterInsights here:
=================================
https://www.monsterinsights.com/
=================================

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:

Edit Author Slug

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:

Custom Permalinks

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:

Redirection

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.
https://www.youtube.com/subscription_center?add_user=wpbeginner

Feel free to take a look at the written version of this tutorial here:
https://www.wpbeginner.com/wp-tutorials/how-to-create-custom-permalinks-in-wordpress/

Check us out on Facebook
https://www.facebook.com/wpbeginner

Follow us on Twitter

Check out our website for more WordPress Tutorials
http://www.wpbeginner.com
#WordPress #WordPressTutorial #WPBeginner

source

30 thoughts on “How to Create Custom Permalinks in WordPress”

  1. If I own multiple different domains, how do I get the domains to go to separate pages of my main website? Like if I search one of my domains, instead of it taking me to the front page of my main website it takes me to a specific page of my website?

  2. Say I have an established WP blog where all the post urls have the date in them. I know how to change the urls so they only show the post title in the url. I go to settings, permalinks and change it. However after doing that I will have lost all the links and seo I had developed with the old permalinks that had the date in them. Say there are over 100 posts. You really didn't explain how to universally redirect all those old post urls (containing dates) to the news urls (containing only post title) without suffering any link and/or seo damage. Will the "redirect" plugin you mentioned accomplish this? Do I have to change the css code or other code? Is there a simple way to do this?

  3. i wish i was slightly more advanced in this to take advantage of you excellent teaching. however when you flew by the part with all the %hge% signs and not explain specifically what they are for. so where can i find something rudimentary for slow people like myself who just learned what a permalink was. i will subscribe.

  4. Thanks , Let's say I had an old site with a link like /foldername/test.html Now moving to new site but want to preserve only that particular URL for on page only I tried to change the permanent link of one page but it does not accept test.html it only accepts test.html/ as a folder . Any way to do this?

Leave a Reply

Your email address will not be published. Required fields are marked *