How to Make Custom WordPress Permalinks

Do you want to make custom permalinks for posts, pages, and other post types in WordPress?

One of our readers recently inquired about the possibility of creating custom permalinks, or page URL structures, in WordPress.

We’ll show you how to make custom permalinks in WordPress without affecting your SEO in this article.

We’ve created an easy-to-navigate table of contents for this comprehensive tutorial on creating custom permalinks in WordPress:

  • What is a Custom Permalink, and how does it work?
  • How to Change the Permalink Structure in WordPress
  • How to Change the URL Prefix for Categories and Tags in WordPress
  • How to Change the URL of a Single WordPress Post or Page
  • How to Change the URL of a WordPress Category or Tag
  • How to Change the URL of an Author Page in WordPress
  • In WordPress, here’s how to make completely unique permalinks.
  • How to Avoid 404 Errors with Permalink Redirects

What is a WordPress Custom Permalink?

Permalinks are the permanent URLs for your WordPress site’s individual blog posts, pages, and other archive pages. A custom permalink is a URL structure in WordPress that is applied to a single page without affecting the rest of your URL structure.

WordPress includes an SEO-friendly URL structure that allows you to use a simple URL structure that is easy to understand for both humans and search engines.

Consider this link: This is a vast improvement over old URLs:

Visit the Settings » Permalinks page to see them. WordPress gives website owners a variety of options from which to choose.

Aside from altering the overall permalink structure, WordPress also allows you to customize the URLs of individual posts, pages, categories, tags, and other areas of your website.

You can also use WordPress plugins to override the default WordPress settings and create completely custom permalinks for specific sections of your website.

Let’s take a look at each option individually. We’ll begin with the built-in options that come standard with your WordPress site.

Video Instructions

Continue reading if you don’t like the video or need more instructions.

How to Change the Permalink Structure in WordPress

Go to the Settings » Permalinks page if you want to change your website’s entire URL generation scheme.

Simply choose a URL structure for each of your posts. You can also create a custom structure for your WordPress URLs by using the tags displayed on the screen.

Don’t forget to save your changes by clicking the Save Changes button.

This improves the SEO and meaning of your URLs. A URL structure that includes the post name in the URL is recommended.

Changing permalinks, on the other hand, can have an impact on your SEO rankings if you already have a website that receives traffic from search engines. Note: For all new WordPress blogs and websites, you should switch to SEO-friendly permalinks.

How to Change the URL Prefix for Categories and Tags in WordPress

Consider the following scenario: WordPress defaults to using /category/ as the base for category URLs and /tag/ for tag pages.


As an example, From the Settings » Permalinks page, you can change these base prefixes to whatever you want. (For category pages) (to be used on tag pages)

How to Change the URL of a Single WordPress Post or Page

WordPress uses the permalink structure as a template for all links on your site once you’ve set it up. Individual posts, pages, and custom post types do, however, have the option to change the URL slug (keywords) within the URL structure.

The slug part of the URL can be customized in the WordPress content editor’s post edit screen.

You’ll need to save your draft before starting a new post or page.

Simply click on the title field after you’ve saved your draft. The Permalink field will appear on top of it, as you can see.

To change the URL slug to a custom permalink, click the Edit button next to it and change the URL slug to a custom permalink. When you’re finished, click the Save button to save your new permalink.

This method can be used for any post type, including WooCommerce products, MemberPress courses, and so on.

How to Change the URL of a WordPress Category or Tag

We’ll show you how to change the URL keywords for a specific category or tag in this step. We showed you how to change the category and tag base prefix in WordPress in the previous step.

Simply go to Posts » Categories and click the Edit link next to the category you’d like to change.

You can change the category slug to customize the permalink from here. The category details will now be loaded by WordPress.

Similarly, you can edit a single tag by going to Posts » Tags.

Using the same method, you can edit any custom taxonomies.

How to Change the URL of an Author Page in WordPress

The ‘/author/’ base is automatically added to URLs that lead to author archive pages in WordPress. Consider the following scenario:

The issue is that WordPress does not provide a way to modify the author URL base or slug.

Fortunately, as the saying goes, there’s a plugin for that.

The Edit Author Slug is simple to set up and use. See our step-by-step guide to installing a WordPress plugin for more information.

Go to the Users » All Users page after activation. Then, beneath a username, click the †Editâ€TM link.

Don’t forget to save your changes by clicking the Save Changes button. Scroll down to the Edit Author Slug section on the next page, where you can choose an author slug or create your own.

Simply go to Settings » Edit Author Slug to change the author’s permalink base. You can change the author base here, and you can even select different author bases for users with different user roles.

See our guide on how to change the author URL slug and base in WordPress for more information.

In WordPress, here’s how to make completely unique permalinks.

They cannot, however, assist you in creating completely unique permalinks. To some extent, all of the methods above allow you to customize WordPress permalinks.

This is because WordPress does not include this feature by default.

Fortunately, there is a plugin that can assist. Follow the steps here to override the default WordPress URL structure for specific sections of your site.

See our step-by-step guide to installing a WordPress plugin for more information. Installing and activating the Custom Permalinks plugin is the first step.

You must edit the post where you want to create a custom permalink after activation. Instead of editing the permalink field at the top, you can create a custom permalink by clicking the button below the editor.

You can create custom permalinks for categories in the same way. Go to the Posts » Categories page and edit the category you want to change by clicking the edit link below it.

Even without the category base prefix, you can create a URL. The option to create a custom permalink for that category can be found on the category details page.

By going to the ‘Custom Permalinks’ menu in the admin sidebar, you can manage and disable all of your custom permalinks.

Simply select the custom permalinks you want to remove and then select the ‘Delete permalinks’ option from the Bulk Actions menu.

The default WordPress permalink scheme will take the place of the deleted permalink. The plugin will then remove those custom permalinks after you click the ‘Apply’ button.

How to Avoid 404 Errors with Permalink Redirects

It may not, however, set up redirects for custom author permalinks or permalinks that have been completely customized. Changes to post and page URLs are handled automatically by WordPress.

To avoid 404 errors on your website, you’ll need to set up proper redirects in that case.

The Redirection plugin must first be installed and activated.

To set up redirects, go to Tools » Redirection page after activation. In the †Source URLâ€TM field, enter the old URL, and in the †Target URLâ€TM field, enter the new URL.

See our beginner’s guide to setting up redirects in WordPress for more information. Then, to save your changes, click the ‘Add redirect’ button.

We hope that this article has taught you how to make custom permalinks in WordPress. To get more search traffic to your website, check out our ultimate WordPress SEO guide.

You can also find us on social media sites such as Twitter and Facebook. Please subscribe to our YouTube Channel for WordPress video tutorials if you enjoyed this article.

    How to Transfer Your Blog from to Correctly

    Step-by-Step Instructions for Starting Your Own Podcast

    How to Fix the WordPress Error Establishing a Database Connection

    Why is it so important to build an email list today? (6 Reasons)

    Editorial Staff Information

    Over 1.3 million readers around the world rely on it. WPBeginner’s Editorial Staff is a group of WordPress experts led by Syed Balkhi.

    Hello there, Do I need to use a permalink link like postname-postID to rank my news website on Google News?

    Because I’ve noticed that the majority of news websites use this format?

    While it is not required, this is the most common permalink setting.

    Hello there, WP newbie!

    I’ve already created several pages with a theme, and I’d like to change all of their permissionslinks. Every time I do it, the updated page returns a 404 error. This is an excellent article!

    If you wanted to redirect your old posts/pages, you’d have to resave your permalink settings.

    Hello, does using a custom permalink plugin affect our website’s SEO in any way?

    It depends on what you do with the plugin; if that is what you mean, using the plugin to make the same change you would make manually is not different from using the plugin.

    Is it still a good idea to use Custom Permalinks as the plugin for this? I’m curious if this is still recommended. I noticed that this post was published in 2016. When I try to install the plugin, it says it’s “untested with your version of WordPress,” even though the last update was over a year ago.

    Take a look at our article below for our thoughts on the not tested warning: Should you install plugins that haven’t been tested with your WordPress version?’t-been-tested-with-your-wordpress-version/

    Hello there,

    I have an old website, and I’ve changed the date pattern in my Permalink Settings to post name.

    Will it also affect old links?

    In Google, the site is doing well. I don’t want to alter the current settings.

    However, there is a new post with the title Permalink Settings.

    The link to the post would change, but links to the post at the old location would not, resulting in 404 errors for anyone who tried to access it.

    Thank you so much for being so helpful.

    Thank you very much.

    Hello, I read your post on how to switch from Blogger to WordPress and found it very helpful. The link structure and AdSense are two things that I see as a problem here.

    Otherwise, all of my other posts will keep their URLs, with the exception of those imported from Blogger (which will be edited to match the month and day). Is that okay? Will it work if I migrate from Blogger to WordPress without setting the link to month and day as you suggested in the other post, instead editing each post I migrated from Blogger to match the month and day?

    If you change your permalinks, you’ll need to create redirects to avoid 404 errors for your visitors.

    Day by day, I’m building my page, and this information is extremely helpful. Thank you so much for your assistance.

    We’re glad our resources can assist you.

    Sir Adhyansh Jadli, SYED BALKHI I was trying to figure out how to set up categories and tags. Thank you so much for writing such a wonderful article. It’s the best platform I’ve ever seen for providing detailed information to newbies like myself. You aided me in getting my WordPress site up and running. I’m a regular reader of your blog and subscribe to your YouTube channel. Thank you very much.

    You’re welcome; we’re glad our content is useful. (a page with links to downloads) (Page containing the main content) Is there a post that will show me how to make a query-based url like this:

    We don’t have a recommended method for creating that type of permalink, unless I hear otherwise.

    Is there a way to remove the /home from the end of my URL in the Premium version without using plugins?

    If you mean it’s on every page, take a look at this:

    What can we do with urls that aren’t posts or pages? For example, I can’t change the urls for a forum plugin that I embed. Is there a file in WordPress where I can change each url?

    For information on how to modify the permalinks for the plugin’s additions, you should contact the plugin’s support.

    I’m currently working on a project where I needed to change the name of an inbuilt tab called promotions, which I did programmatically. I was successful in changing the name of the promotions tab to Notification tab. The only thing that remains is the permalink. Please get back to me as soon as possible. This is an excellent article. Thank you very much. Is there a way to make this happen? MyAccount/Promotions should be changed to MyAccount/Notifications. Hello there,

    It would depend on what is creating the account; however, if you contact the plugin’s support, they should be able to tell you.

    This is an excellent article!

    Thank you very much!

    Thanks to this article, I was able to solve my problem today…

    Thank you very much.

    Hello there. For my blog, I recently created a WordPress website. How do I change the permalink to start with the primary domain rather than the temp.domain?

    If your domain is set to your temporary domain under Settings>General, you should be able to reach out to your hosting provider and have them help you update from your temporary domain to the correct address without issue.

    Hello there, WPBeginner! I’ve done everything you said in the article, but my articles are still ranking in Google Could you tell me how to fix this?

    If you wanted to remove those results from Google search, you could use Google’s URL removal tool. If you changed the structure, Google may have cached it.

    This is how I want my new website to be structured –

    Is it possible to use the Custom Permalinks plugin to create this structure?

    The plugin should be able to set up that permalink structure by allowing you to change the permalink to anything.

    I tried changing the Permalink settings, but that just changes the code after the / to whatever the settings say it should be. Greetings Mike is a guy who likes to I’m working on a new website (yet to be published) and would like to have a home page. When I try to create a page with just that URL, Permalinks appends an incomprehensible number to it, such as How do I make a page that only has the URL and no / or other characters after the /?

    Set the home page under Settings>Reading if you want a specific page to appear when the url is just the url without the slashes.

    Month and post are set in my permalink. So, after reading this article, I installed the custom permalinks plugin, but I don’t see the option to change the month and post from the slug when editing a new post. Please suggest how to change the permalinks for new and upcoming posts to just post instead of month and post. However, for future posts, I’d like the permalink to be post only. Hello, I’ve switched from Blogger to WordPress for my blog.

    Developers have told me not to change permalinks at the “EDIT” level. On a site I helped build, there are a few pages that could really benefit from a name change. Something that reflects what a person might be looking for rather than something with which we were attempting to be clever. I’m assuming that if I’m careful and do_something_like_this, I’ll be fine. So, what causes permalinks to “break” when they are changed during the edit stage (when you open a page and see the URL)?

    Hello, Tucker.

    When you edit a page’s URL, the page will still function properly on your website. You’ll need to set up a redirect if you need to change the permalink of an existing page. However, search engines will index your old URL and will not be able to find it.

    Thank you for sharing this informative article.

    My issue is that the search results for my blog posts show instead of, but when you click on it, it shows the post name. My question now is how do I get the title of the post to show up in the search results as well?

    This is a great article for beginners.

    Hello, I have a page that compares various products. Could you please advise me on how to customize the permalink for these types of pages so that they display something like: /page-name/compare-productname1-vs.-productname2-vs.-productname3? /page-name/?compareids=1,2,3 is the permalink for the same.

    Good day, Team!

    I have a question,

    1.How do I use keywords in the url before and after I write a post?

    2.How do I include keywords in the url of a post without causing a 404 error in WordPress?

    3. How can urls be optimized without causing 404 errors?

    4.How can I customize my permalinks (insert keyword in url) without getting an error?

    Please assist meâ€

    Thank you very much.

    Although my entire site is still under construction, most of my posts are marked as “published” in that configuration. As long as the site isn’t up and running, I guess I don’t understand the meaning of the word “publish,” but it does help me see the posts better, so I did it. Thank you very much. Is it possible to change the slugs by temporarily reverting the status to “draft,” changing the slug, and then re-publishing?

    Hello, Orit.

    You can change the slug of a live page/post if your site is not live and your content is not indexed by search engines.

    Is it possible to keep changing the slug, permalinks, and category tags without having to use the re-direct plugin? I’ve written a few posts and published them, but my site isn’t up and running yet. My website is new and under construction; it is not yet operational.

    Is it safe to keep changing the permalink even though my site isn’t live (despite clicking “publish”)?

    Is the redirect plug-in only required if I make changes to the URL after the site has gone live?

    Thank you so much!!

    I’m not sure how else to put it; please accept my apologies for any misunderstanding. I’d like to know how to add a page name to the front of a website’s URL, such as

    Hello, Nnamdi.

    Subdomains are what they’re called. They aren’t at all like pages. A subdomain could, in fact, be a completely different website with the same root domain name.

    What options do I have? Hello, the /blog does not appear in the breadcrumbs when I run this process.

    I’d like to start a blog:

    as well as the breadcrumbs:

    > Category > Post-1 > Home > Blog >

    What is the best way to include the > Blog in my breadcrumbs?

    Is it possible to make it hierarchical? I assume it isn’t visible because / blog is set up incorrectly.

    Is there a way to get around this issue? Unless I un-parent it from the /accounting landing page and create its own sidebar menu, removing the extra /accounting from the permalink will result in a blank page. The url becomes: after I parent it to my accounting landing page and update the page. When I publish a page and then parent it to use the parent’s sidebar menu, it adds another link to the url structure — for example, the page url was originally: The post type is set in my permalink structure.

    Please note that I added post Id to the permalink of my post. However, I’d like to change my permalink structure to /category/post_name, but I’m afraid the old link will go down, and I’ll lose my Google ranking as a result.

    I’d like to change the post ID *956* to the post’s category. Please assist me. But, once the changes are made, how do I redirect the old URL to the new one?

    Hi, thanks for the informative article. I have a question: in my WordPress blog, pressing the post title gives me the correct permalink (Post name only), but pressing the (continue reading ) gives me the same permalink but with some extra codes! How can I make it look similar without adding more length? Only the title of the post, with no other information?

    Should I leave the WordPress permalinks alone? My WP permalinks are set for static page %post% the woocommerce shop it is not the home page… I added woocommerce where woocommerce has its own permalinks structure. And how should the woocoommerce permalinks and reading be set? Hello, I already have a WordPress website and am using a theme that includes a home page, a page about us, and other features.

    Hello, Valente.

    The permalink structure of your website will not be affected by WooCommerce.

    Or, to put it another way, how does it work? Hello and good evening, So, what’s the question? Ameer is a name given to a person who I have index.php and.htacess in place. Now I want to publish article(s) using the WordPress-generated permalink for my page. How do I create a new page with my custom permalink? Thank you very much. Please assist. I’m stuck on the last part. Is it necessary for me to copy the link and paste it into the address bar? For several years, I’ve had a website up and running.

    Is it possible to create custom permalinks without using a plugin?

    The slug always has a â€-2†at the end without the plugin, as if it were a copy. What should I do? But there’s a problem with the plugin. It won’t have a “-2” in it.

    Hello, should changing the title of a static home page affect the URL?

    Hello, Dor.

    However, you can change it back by clicking on the URL slug on the page edit screen. Changing the title, on the other hand, will change the URL slug if the page is still saved as a draft and has never been published. The URL will not change if you have published the homepage.

    Thank you very much!!

    How do I add a prefix or suffix to all post_tag slugs’ permlinks?

    What is the reason for this? On post pages, I don’t see an edit bottom to change perm links…

    Thank you very much. I don’t want any links in the titles. I’d like to get rid of the permalink entirely. Is there a way to accomplish this?

    Yes, but most WordPress themes are built with permalinks in mind. You’ll most likely need to create a custom theme or modify an existing starter theme to meet your needs.

    Thank you very much! I had already decided on a simple layout (‘Maker’), but I will investigate the starter themes.

    Please assist me,

    I’d like a permalink that looks something like this:

    Thank you very much. Is there something I’m doing wrong? I can’t seem to find one without the word “wordpress” in the middle. My site is brand new, and all of the permalink options look like this: What can I do about it?

    Please see our instructions for removing the /wordpress/ prefix from your WordPress site’s URL.

    Thank you very much. This is an excellent description. However, you neglect to mention one point: what happens to the customized slugs if the permalink structure changes.

    I’ve shortened titles that are too long or contain apostrophes (which result in two words being combined into one, resulting in slugs being created automatically). I’m currently migrating a French-language website to WordPress.

    Following the creation of a number of my customized permalinks, I decided that I preferred the permalinks to follow a structure based on the year-month-day pattern, i.e…./2016/08/15/… rather than…/2016/08/…

    It’s simple… However, all of my customizations had vanished!

    But how can I be sure that my customized permalinks will stick, even if I change the permalink structure again before the site goes live? I’m going to recreate them.

    I’m sure there’s a way, or a plugin, but I haven’t found it yet.

    They’re saved in the database and will be used again if you use a Permalink structure with post-name instead of ID in the URL. When you update the permalink structure, you should not change the slugs.

    Thank you so much for responding.

    It could be related to the fact that a number of posts were automatically imported from another CMS, resulting in numeric slugs that we were able to regenerate (using Permalink Manager) to convert to standard slugs. Yes, when I updated the permalink structure, I expected custom slugs to stay the same… Perhaps this had unintended consequences later on when the settings were changed. But they did, for reasons I don’t understand, and I’m not going to put it to the test again.

    However, any future changes to the permalink structure will be handled with extreme caution! Anyway, it’s good to know that this isn’t a common occurrence and is most likely caused by something else.

    I’m hesitant to use Custom Permalinks because of the recent low ratings, inactive support forums, and lack of response from the author. Anyone having any issues with it, given that the last plugin update was over a year ago?

    It was last updated about a month ago.

    Sir, this is a fantastic post.

    Excellent article. Thank you.

    I’ll definitely give it a shot because I have a lot of categories, sub-categories, and tags to manage. It’s fascinating. Thank you very much for the useful information.

Enable registration in settings - general