Website owners typically want readers to share their content either on their own sites or on social networks. To do this, readers need a link to share.
What is a WordPress Permalink?
A 'permalink' is a 'permanent link' to a specific page or post on a website. When you share a link, you expect that it won't change and will be a permanent resource.
WordPress generates a permalink for each post or page you create, which can be edited.
There are several types of permalinks that WordPress uses. In this article, I'll provide an introduction to permalinks, so that you’ll be able to choose the best type for your WordPress site.
The Default and Ugly Permalinks
Each post or page you create has a unique identifier, called the ID. It’s a number that can uniquely identify your posts or pages, so it’s perfect for a default permalink system, and it’s the one chosen by WordPress.
Let’s assume that you write a post that has the ID 308. Then, its default permalink will be http://ift.tt/2kRBjF2. By definition, the ID is unique, so by accessing the value of the p tag contained in the URL, WordPress will know which post to retrieve.
It’s a simple system that has a big advantage: it can work on any server, so anyone can use it. However, these permalinks are ugly and not really explicit, and that’s why pretty permalinks exist.
Enabling Pretty Permalinks in WordPress
Pretty permalinks (also known as search friendly URLs) typically contain several words, like the title of the post they refer to. For example, http://ift.tt/1wcQBXG. This way, we can get an understanding of what the content of the page or post will be just by reading the URL. Furthermore, it will also be readable by search engines which in turn can help with search engine rankings.
Continue reading %An Introduction to WordPress Permalinks%
by Jérémy Heleine via SitePoint
No comments:
Post a Comment