Permalink Structures in WordPress

In a previous article, we’ve talked about permalinks, what they are, what their benefits are, and we also saw some examples. In this article, we will talk about permalink structures in WordPress, what do they mean and how you can work with them.

If you run a website on WordPress, if you go to Dashboard, Settings, Permalink, we will something similar to the below screenshot:

Permalink Structures in WordPress - Article on essentialDevTips.com

As you can see in the above screenshot, WordPress offers you 5 predefined permalink types and a custom one, which basically allows you to set virtually any permalink type you like.

Let’s further discuss each permalink type option along with providing an example of a URL for each one of them:

  • Plain:
    • All your blog post URLs will follow the URL template: https://www.[your-domain-name].com/p-123
  • Day and name:
    • All your blog post URLs will be based on year, month, day and post name and will follow the URL template: https://www.[your-domain-name].com/year/month/day/[post name]
  • Month and name:
    • All your blog post URLs will be based on year, month and post name and will follow the URL template: https://www.[your-domain-name].com/year/month/[post name]
  • Numeric:
    • All your blog post URLs will be based on the word “archive” and post number and will follow the URL template: https://www.[your-domain-name].com/archives/[post number]
  • Post name:
    • All your blog post URLs will be based on the post name and will follow the URL template: https://www.[your-domain-name].com/[post name]
  • Custom Structure:
    • All your blog post URLs will be based on the custom permalink structure that you will set. For this purpose, you can use the available tags WordPress offers, in order to construct the custom permalink structure expression.

For search engine optimization purposes (SEO) the two permalink types that are best to use are:

  • https://www.[your-domain-name].com/[post name]
  • https://www.[your-domain-name].com/%category%/[post name]

Note that you should always try to keep your permalinks as descriptive but also as short as possible.

 

Featured Online Courses:

 

Read Also:

 

Reference: {essentialDevTips.com} (https://www.essentialdevtips.com/)

© essentialDevTips.com

Rate this article: 1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)

Loading...