πŸ”΅
WordPress

Setting a SEO-friendly WordPress permalink structure

πŸ“… 8 October 2026 ✏️ 8 October 2026 ⏱ 5 min leestijd

Learn how to set a clean permalink structure in WordPress, which option works best for SEO, and how to safely change existing links.

The permalink structure determines what your WordPress site’s URLs look like. A clean URL like /setting-permalinks/ works better for visitors and search engines than a URL full of question marks and numbers. In practice, almost always choose the Post name structure, set it via Settings > Permalinks, and prepare 301 redirects if you change an existing structure so old links keep working.

What is a permalink and why does it matter

A permalink is the permanent URL of a page or post. By default, WordPress uses a structure with a question mark and a post number, such as ?p=123. That looks messy and says nothing about the page’s content. A clear permalink helps visitors see what a page is about before clicking, and search engines use words in the URL as an extra signal when determining relevance.

Permalinks also play a role when sharing content. A short, logical URL looks more trustworthy in emails, social media, and search results than a long string of numbers and characters.

?p=123/post-name/SEO

Choosing the best permalink structure

WordPress offers several structures by default, but in practice one works best for most sites: Post name. This shows only the page’s slug, for example /setting-permalinks/, without a date or category in front of it.

We advise against structures that include a date, such as /2024/05/title/. They make content look unnecessarily outdated, even if the content is still current. A structure with a category name can be useful for large sites with clear sections, but it makes URLs longer and more vulnerable to breaking if you rename categories later.

When choosing slugs for individual pages, keep the following in mind:

  • Use short, descriptive words that cover the topic
  • Avoid articles and unnecessary words such as “the” or “a”
  • Use hyphens between words, not underscores or spaces
  • Keep the slug aligned with the page’s main keyword

Setting permalinks in WordPress

Setting the permalink structure takes just a few clicks in the admin panel. Follow the steps below.

1

Go to Settings > Permalinks

Log in to your WordPress dashboard and open the Settings menu on the left, then Permalinks.

2

Choose the Post name option

Select the Post name structure, so only the page’s slug appears in the URL.

3

Save the changes

Click Save Changes. WordPress automatically updates the .htaccess rules so the new URLs work.

4

Check that it works

Open a few pages and posts to check that the new URLs load correctly and don’t return a 404 error.

If you’re running on a LiteSpeed server, WordPress usually applies the correct rewrite rules automatically. If saving permalinks has no effect, check via Plesk whether the .htaccess permissions and the mod_rewrite module are set up correctly.

πŸ’‘ Tip: After changing permalinks, always test your most important pages and your sitemap, so search engines can correctly follow the new structure.

Changing permalinks later without breaking links

If you change the permalink structure on an existing site that already has visitors and backlinks, all URLs change at once. This can lead to 404 errors and loss of ranking if you don’t handle it properly.

Therefore, always set up 301 redirects from the old URLs to the new ones. This can be done via a redirect plugin or manually through the .htaccess file. After the change, check Search Console for crawl errors, and submit an updated sitemap.

If you’re considering switching to a different hosting provider during this process, make sure the .htaccess and permalink settings are correctly carried over. Check out the information on switching to Tandata, so your site moves without downtime or broken links. If you also need reliable web hosting with fast NVMe storage and Plesk, your WordPress site will run more stably and you can make permalink changes with peace of mind.

Frequently asked questions

Which permalink structure is best for SEO?

The Post name structure is most recommended, because the URL stays short and descriptive without unnecessary dates or numbers.

Why doesn’t my new permalink structure work?

This is often due to .htaccess permissions or a missing mod_rewrite module on the server. Check this in Plesk or get in touch via the knowledge base.

Do I need to set up redirects after changing permalinks?

Yes, if your site already has existing indexed URLs, set up 301 redirects to prevent 404 errors and loss of ranking.

Does the permalink structure also affect email or domain names?

No, permalinks only affect your website’s URLs. Settings for business email and domain names are separate from this.

Can I customize permalinks per page?

Yes, you can edit the slug of each page or post individually, even if the general structure is set to Post name.

Conclusion

A clean permalink structure like Post name makes your URLs clear for visitors and search engines. Set it up via Settings > Permalinks, test your pages, and use redirects when you change an existing structure.

View web hosting β†’

Was dit artikel nuttig?