How to Create Custom Permalinks in WordPress?

0
175
Create custom permalink in WordPress.
Create custom permalink in WordPress.

Have you ever thought you could create custom permalinks in WordPress?

Permalinks are the permanent URL of your website. From blog posts to every page, every content of the website has its own permalink. By default, WordPress creates a permalink to the website. However, you can create your own custom permalink to boost your search engine optimization.

If you are willing to create a custom permalink in WordPress but don’t know how to. You have chosen the correct article. After learning this article, you will be able to create custom permalinks without any problem.

What is Permalink?

Before being able to create a custom link you should have the proper knowledge about permalink. Firstly, the word permalink is defined as the permanent URL of the website. Often it is considered as the link to the website.  

Basically, the main aim of a permalink is to create a human-readable and search engine optimized URL structure. By default, WordPress creates a URL for a website that looks more or less like https://example.com/index.php?p=3456. From this structure, it is clear that the URL is not specific.

For instance, when you create a custom permalink you can include all the focused keywords and therefore you can make your URL specific and increase your site traffic. For example: 

https://example.com/create-custom-permalinks-wordpress is more advanced and includes more information on the URL making it informative and attractive. 

In addition to this, WordPress hands all the customization power to the site owner, you just need to visit Settings >> Permalinks from the WordPress dashboard.

Apart from changing the permalink structure, it allows you to modify URLs of the posts, pages, categories, as well as other areas of the website individually. 

Without further delay, let us move towards finding the actual answer to the question:

How to Change the WordPress Permalink Structure

This step is for the one who is searching for a way to change the whole URL of the website. 

Initially, head to the Settings >> Permalinks page from the admin menu.

Now, choose the URL structure for the identical post. Moreover, there are tags shown on the bottom of the screen helping you to create a custom structure for the URLs. For instance, the URL for the post’s title was (%postname) same wise for category (%category%), and for the year (%year%).   

Make sure you click on the “Save Changes” button to save the changes. 

Note: We recommend you add the post name in the URL to make it SEO friendly and boost the site traffic on the site. 

How to Change the Category and Tag URL Prefix in WordPress

As we are well aware that the base for the category URL is /category/ and that of the tags is/tag/. These URLs are merely used by WordPress by default. For further illustration, let us see the example:

https://example.com/category/computer/

https://example.com/tag/hardware/

On the same page of the permalinks, you can change the base prefixes just by entering new prefixes in the boxes besides Category base and Tag base respectively.  

Don’t forget to click on the “Save Changes” to update the changes.

Hence, now you will find that the category is replaced by the prefix you add in the boxes. 

For the sake of this article, we entered the title in the category base and heading in the tag base and now you will find the URL like:

https://example,.com/title/computer/ = category pages

https://example.com/headline/hardware/ =tag pages

How to Change an Individual WordPress Post or Page URL

After setting the initial permalink for the posts or page, WordPress uses the same permalink to link all of the other sites. There is no point in changing the URL if the page or post already has a lot of site traffic. However, you can modify the URL slug of the posts or pages inside the URL structure. 

Navigate to the post’s edit screen where you can customize the URL slug under the permalink section. 

Click on the publish button if the post is a new one else, click on the “Update” button. 

How to Change WordPress Category or Tag URL

The previous step was all about changing the base prefix in WordPress. Here we will discuss changing the WordPress category and tag URL.

Head to Posts >> Categories.

Hover the mouse in one of the categories and click on the “Edit” link.

Now, you will see a page with all the information related to the categories. Here you can change the permalink of the category by customizing the slug.

Click on the “Update” button to save the changes.

Again, head to Posts >> Tags and repeat the steps.

How to Create Completely Custom Permalinks in WordPress

By default, WordPress allows you to customize the permalink but does not allow you to create a completely custom permalink. Fortunately, there are plugins to help you out. Follow the steps mentioned below:

Install and activate the plugin Custom Permalinks

After activation, visit the post where you want to create a custom permalink. There you will find the option to create a custom permalink beside the “Permalinks” editor.

Likewise, you can create a custom permalink for categories and tags too. You need to navigate to Posts >> Categories. Choose the category to create a custom permalink and hover the mouse. You will see an “Edit” link. Simply click on it. 

Now a screen with all the detail of the category will appear where you can create a custom permalink. Here you will find a custom permalink box to create your own custom permalink for that specific category.

Moreover, the plugin allows you to manage and delete all the custom permalinks. For this you need to navigate to Custom Permalinks >> Post Type Permalinks

The process is simple, you just need to determine the permalink you want to delete and click on the “Bulk Actions” drop-down menu and then the “Delete Permalinks” tab. 

Wrapping up

Lastly, we hope this article was helpful for you. If you have any queries or confusion, do ask us in the comment section below. Also, check out our other article “How to Regenerate Your Permalinks in WordPress?”.

LEAVE A REPLY

Please enter your comment!
Please enter your name here