The permanent URLs of your website’s posts, pages, categories, and other archive pages are known as permalinks. The name “permalink” comes from the fact that these URLs are permanent and should not be modified.
- When you wish to share your post on social media, simply share the permalink.
- When another blogger wants to connect to your article, a permalink is utilized.
- When Google wants to index your article, it uses the content’s permalink.
Types of permalink
- Plain Permalinks
- Sample: http://example.com/?p=N – p as the parameter and N is the unique ID of the post or page in the database.
- Also called the Ugly Permalink
- WordPress default settings option for Permalink
- It works on all server environments.
- Not user-friendly
- Not optimized for search engines.
- Pretty Permalinks
- Sample: http://example.com/2012/post-name/
- SEO-friendly and attractive
- usually contain several words such as the title of the post or page, post category, tag name, etc
- can use Keywords in the URL to make your content readable by search engines
- help others get an understanding of what the content of the page or post
- Almost Pretty Permalinks
- Sample: http://example.com/index.php/yyyy/mm/dd/post-name/
- have /index.php prefixed before them
Choosing permalink Structure
- Dashboard, go to Settings → Permalinks
- You can choose one of the permalink structures or enter your own in the “Custom structure” field using the structure tags.