TemperStack
Beginner8 min readUpdated Mar 18, 2026

How to configure SEO-friendly permalinks on WordPress

Quick Answer

Configure SEO-friendly permalinks in WordPress by navigating to Settings > Permalinks and selecting the Post name structure. This creates clean, readable URLs that improve search engine rankings and user experience.

Prerequisites

  1. WordPress admin access
  2. Basic understanding of URLs
  3. WordPress site backup (recommended)
  4. Understanding of SEO basics
1

Access WordPress Admin Dashboard

Log into your WordPress admin panel and navigate to the dashboard. Look for the Settings menu in the left sidebar of your WordPress admin area.
Tip
Make sure you have administrator privileges to access permalink settings.
2

Navigate to Permalink Settings

Click on Settings in the left menu, then select Permalinks from the dropdown menu. This will take you to the permalink structure configuration page.
3

Choose Post Name Structure

On the Permalink Settings page, you'll see several options. Select the Post name radio button, which creates URLs like https://yoursite.com/sample-post/. This is the most SEO-friendly option as it includes your post title in the URL.
Tip
The Post name structure is recommended by most SEO experts for better search rankings.
4

Configure Custom Structure (Optional)

If you need a custom permalink structure, select Custom Structure and enter your desired format using tags like:
  • %postname% for post title
  • %category% for category
  • %year% for publication year
  • %monthnum% for month
Example: /%category%/%postname%/
Tip
Keep custom structures simple and avoid using dates unless your content is time-sensitive.
5

Set Category and Tag Base (Optional)

Scroll down to find Optional settings. You can customize the category base (default is 'category') and tag base (default is 'tag'). For example, change category base to 'topics' to get URLs like /topics/seo/ instead of /category/seo/.
Tip
Leave these blank to remove the base entirely from your URLs.
6

Save Permalink Changes

Click the Save Changes button at the bottom of the page. WordPress will update your permalink structure and generate a .htaccess file if needed.
Tip
WordPress may display a message about updating your .htaccess file manually if it can't write to it automatically.
7

Test Your New Permalinks

Visit your website and navigate to a few posts to ensure the new permalink structure is working correctly. Check that URLs are displaying in the format you selected and that pages load without errors.
Tip
Clear any caching plugins after changing permalinks to ensure changes are visible immediately.
8

Update Internal Links

If you changed from an existing permalink structure, update any hardcoded internal links in your content, widgets, or menus to use the new URL format. Consider using a plugin like Velvet Blues Update URLs for bulk updates.
Tip
WordPress automatically redirects old URLs to new ones, but updating internal links improves site performance.

Troubleshooting

404 errors after changing permalinks
Go to Settings > Permalinks and click Save Changes again to refresh the rewrite rules. If issues persist, check if your .htaccess file is writable or manually update it.
Cannot save permalink changes
This usually indicates insufficient file permissions. Contact your hosting provider to set proper permissions (644) for the .htaccess file in your WordPress root directory.
Custom structure not working properly
Verify your custom structure syntax is correct and includes the necessary tags. Ensure you're using forward slashes / properly and that the structure ends with /.
Search engines still showing old URLs
Submit an updated sitemap to Google Search Console and other search engines. Use 301 redirects for important pages and be patient as search engines need time to reindex your content.

Related Guides

More WordPress Tutorials

Other Tool Tutorials

Ready to get started with WordPress?

Put this tutorial into practice. Visit WordPress and follow the steps above.

Visit WordPress