WordPress Tips

How to Change the Structure of Permalinks in WordPress

How to Change the Structure of Permalinks in WordPress

If your site is working with a link structure and you want to change to a different one, contact a professional, since if you do it wrong you could generate many 404 pages.

One of the most important settings (if not the most) when configuring your site is choosing a correct structure for your permalinks, and in this article I will tell you what they are, what they are for, and how to change them.

What are permalinks?

Although it may seem like a very simple definition, a permalink it is a link that does not change, an address that allows anyone to access specific content and whose structure will not be modified.

Therefore, if you write an article talking about "The 5 most famous recipes on the internet", your URL would be of the type https://www.tudominio.com/5-recetas-mas-famosas-de-internet, so if someone wanted to reread that article, they could easily do so using that address.

What are the useful for permalinks?

As I have mentioned before, the permalinks (permanent links in English) serve to create an address that will not be altered and have the possibility of accessing said content in the future, but they also have other utilities that we must take into account:

  • They give information to our visitors/readers. Depending on the structure of the link, it can offer more or less information before being clicked, so a semantic structure can be much more usable than using the ID of your post or page. For example, if you are on a blog and you find two links, example.com/best-recipes y example.com/?p=123 , you can easily see how the first one offers you much more information regarding its content.
  • They help manage content: A proper permalink structure also makes it easier to work with your content. If your permalinks contain the post name, you can easily link to them within an article. Also, if your website is dedicated to news, having the date on the link itself can be very helpful to know what news to link or not based on its age. In addition, in this last example you would know the date of the event and the title of the event without even entering the page.

How do I change the structure of permalinks?

In order to change the structure of your permalinks, go to Settings > Permalinks. In the common settings section you can choose how you want your links to be displayed, which will show by default /p?=ID-of-your-post.

In mowomo we use the structure where we only show the name of the post, but depending on the project you may be interested in showing the date or not. The options I do not recommend are Simple and Numeric. These, as I have said before, do not provide any information and can be tedious when managing a large number of links.

¡Subscribe to our newsletter and receive our offers, news and discounts directly to your email!