Key to managing links on WordPress is by managing Permalinks. Permalinks are the permanent link (URL) to an individual blog post, pages, categories or archives. Once a Permalink is a setup, it's best that you don't change it. Especially if you have already shared it online or it has made it into the search engines.
WordPress has three ways of managing permalinks:
When it comes to managing permalinks for WordPress, there are three different ways to do this: “Ugly” (Default), “Pretty Permalinks”, and “Almost Pretty”.
- “Ugly” (Default) The default looks like http://example.com/?p=N N represents the Post ID number. It works in all environments, but it doesn't look as nice as some of the other options.
- “Pretty Permalinks” Using mod_rewrite or lighttpd (also known as Pretty Permalinks) you can produce much nicer permalinks (see Pretty Permalinks). There are many different formats, but the most common, and most versatile looks like http://example.com/2012/post-name/ or http://example.com/2012/12/30/post-name
- “Almost Pretty” PATHINFO permalinks (also known as Almost Pretty) look very much like “Pretty Permalinks,” but for one exception: they have /index.php inserted before them like so http://example.com/index.php/yyyy/mm/dd/post-name/
Otherwise, they are the same as the “pretty” mod_rewrite permalinks, and are similarly flexible. Anything that mod_rewrite permalinks can do, PATHINFO permalinks can do, with the help of that /index.php part.
Managing permalinks structure
In Settings → Permalinks, you can choose one of the more common permalink structures or enter your own in the “Custom structure” field using the structure tags. Please note: You do not put your site url in the permalinks fields. You only use one of the structure tags, or a combination of tags. To activate PATHINFO permalinks, start your permalink structure with index.php/.