How to Configure the WordPress Permalink Structure

Web Hosting in Pakistan

This article describes how to configure the permalink structure in WordPress.


ABOUT WORDPRESS URLS

By default, WordPress uses the following URL format to display a site's pages and posts:

http://www.example.com/?p=63

This URL is known as a “permalink” because it is the permanent link to the post or page, and should never change. The default WordPress permalink structure only uses the post ID number to generate the URL. Although these types of URLs are perfectly functional, they are not easy to read and can be hard to remember.

Fortunately, WordPress enables you to configure the permalink structure however you want. This can improve the usefulness and readability of your site's URLs, and also affect search engine readability results.


CONFIGURING THE PERMALINK STRUCTURE

To configure the permalink structure for your WordPress site, follow these steps:

  1. Log in to WordPress as the administrator.
  2. Under Dashboard, click Settings, and then click Permalinks. The Permalink Settings page appears.
  3. Under Common Settings, select the permalink structure that you want to use for your pages and posts. WordPress automatically fills in the Custom Structure text box based on the permalink structure that you select:
    • Day and name: This permalink structure formats URLs using the date, month, year, and name of the post.
    • Month and name: This permalink structure formats URLs using the month, year, and name of the post.
    • Numeric: As with the WordPress default permalink, this permalink structure formats URLs using the post ID. However, it also removes the ?p= parameter and substitutes archives instead.
    • Post name: This permalink structure formats URLs using the title of the post or page. No date information is included in the URL.
    • Custom Structure: You can create your own permalink structure by manually specifying a value in this text box.

      For a complete list of available structure tags, please visit http://codex.wordpress.org/Using_Permalinks#Structure_Tags

  4. Under Optional, you can customize the permalink structure further. By default, WordPress uses category and tag in the URL to display category and tag archives. (For example, to display pages tagged with cats, the URL would be http://www.example.com/tag/cats
    • In the Category base text box, type the new value to use in URLs that display articles from a particular category.
    • In the Tag base text box, type the new value to use in URLs that display tagged articles.
  5. Click Save Changes. WordPress updates the URLs for your posts and pages immediately.


Was this answer helpful?

 Print this Article

Also Read

How to Reset a WordPress Admin Password

This article describes how to manually reset the WordPress administrator password in the...

How to install and configure the TinyMCE Advanced editor plugin

This article describes how to install and configure the TinyMCE Advanced editor plugin for...

How to optimize WordPress with WP Rocket

As your site traffic increases and you add additional content, your site may begin to slow down...

How to install and configure the Google XML Sitemaps plugin for WordPress

This article describes how to install the Google XML Sitemaps plugin for WordPress. XML sitemaps...

How to Change a WordPress Account Username

This article describes how to change the username for a WordPress account. CHANGING A WORDPRESS...

Web Hosting in Pakistan

Powered by WHMCompleteSolution