In WordPress, permalinks (permanent hyperlinks) are the full URLs to individual pages and posts, including category, tag and other archives.
You can use permalinks to improve user experience and to level up search engine optimization (SEO) of your site.
In this article, you will learn ways how to configure and optimize permalinks in a WordPress site.
A permalink consists of two parts:
- Domain name. For example,
- Slug. For example,
The slug is unique to each web page. It might include a category or an author name or any other information that describes the content the site visitor will find on the web page.
This is an example of a full permalink:
Use SEO-friendly permalinks
Pretty permalinks are vital for search engine optimization.
By default, WordPress displays plain permalink, other word is ugly permalink, when you visit a web page.
This is not good for search engines because this structure is not SEO-friendly.
To enable SEO-friendly permalinks and boost web traffic:
- In dashboard, navigate to Settings → Permalinks.
- Select permalink structure.
- Save Changes.
Now you have pretty permalinks in your WordPress site.
By the way, to improve search engine rankings of your WordPress site even further, you can also optimize images.
Update permalink structure
You can update permalink structure in WordPress anytime you need it.
To update permalink structure:
- Open Settings → Permalinks Screen.
- Under Common Settings, set your structure.
- Save Changes when ready.
WordPress offers several options to set permalink structure. For URL simplicity, use Post name option.
Change Page (or Post) URL
Since there might be a need to change a page URL, WordPress comes with a simple tool to update the URL of a web page.
To make a change in URL:
- Open your page in the editor.
- Locate and open the Permalink section in the sidebar.
- Add your new slug under URL slug. The “slug” is a name for a webpage in the URL appended to your domain.
- Click the Update button to save your change.
This method also works for posts and other post types.
However, read the next section to better understand SEO implications before making URLs changes.
It is important to pick your permalink wisely and to avoid frequent changes of permalink structure or slug.
When you make the change, the old link becomes unavailable. If someone clicks on that old link, they’ll be taken to a 404 page.
As a result, can lead to negative experience for site visitors.
Furthermore, Google, or any other search engine, will have to remove your web page once the URL changes, and it could take some time before it re-ranks the new page in its place.
A simple permalink is always a good choice of making a URL easy to understand and share.
Well-defined permalinks provide clues to site visitors and search engines. As a result, it positively affects user experience and SEO of your WordPress site.
Hopefully, this tutorial was useful for you to learn how to work with permalinks in WordPress.
Feel free to share your experience working with WordPress permalinks in the comments below.