Introduction
Permalink structure controls how your website's page and post URLs look. It helps make links easy to read and remember.
Jump into concepts and practice - no test required
Permalink structure controls how your website's page and post URLs look. It helps make links easy to read and remember.
/%postname%/ or /%year%/%monthnum%/%postname%//%postname%/
/%year%/%monthnum%/%postname%/
/%category%/%postname%/
This changes your website URLs to show the category and post name, making links clear and organized.
1. Go to WordPress Dashboard. 2. Click Settings > Permalinks. 3. Select 'Custom Structure'. 4. Enter '/%category%/%postname%/' in the field. 5. Click 'Save Changes'.
Changing permalink structure on a live site can break old links; use redirects if needed.
Keep URLs short and descriptive for better user experience and SEO.
Permalink structure defines how your website URLs appear.
Use tags like %postname%, %year%, and %category% to customize URLs.
Choose a structure that is clear and helps visitors understand the link content.
%postname% tag represent in a WordPress permalink structure?%postname%%postname% tag is used to insert the post slug, which is a URL-friendly version of the post title.%year% or %category% represent date or category, not the post slug.%postname% = post slug [OK]%year%, %monthnum%, and %postname%. /%year%/%monthnum%/%postname%/ uses only valid tags.%date%, %title%, or %slug% which are not recognized by WordPress./%category%/%postname%/, what would be the URL for a post titled "Summer Tips" in the "Travel" category?/%category%/%postname%/ means the URL starts with the category slug, then the post slug./travel/summer-tips/./%year%/%postname%/. After changing it to /%postname%/, some old links show 404 errors. What is the likely cause?%category% can cause multiple URLs if a post belongs to multiple categories.%category% from the URL avoids duplicates. Including %year% and %postname% keeps URLs informative.