Skip to content
Passieon

WordPress permalinks and SEO: which structure to choose

By Hamza Rivera, updated

Short answer: WordPress installs with Plain permalinks, which look like a web address ending in /?p=123 and which the WordPress documentation says are not user-friendly or optimized for search engines. Pretty permalinks use words such as the post name and are described as SEO-friendly. You pick one under Settings, Permalinks. Treat the choice as permanent and set up redirects if you change it later.

A permalink is the permanent address of a post, page or archive. WordPress documentation says these addresses should never be changed, which is where the name comes from. It also says permalinks help create a URL structure that is easy for people and search engines to understand and share.

If your site still uses plain permalinks, our WordPress SEO services.

The three types

  • Plain. The default, which looks like /?p=123, where 123 is the post's ID in the database. It works on every server. WordPress says it is not user-friendly and not optimized for search engines.
  • Pretty. Addresses with words in them, such as the post title or category, like /post-name/. WordPress describes them as SEO-friendly and says the words help readers understand what the page is about.
  • Almost pretty. The same as pretty, with /index.php added in front.

How to change it

In the dashboard, go to Settings, then Permalinks. You can choose Plain, Day and name, Month and name, Numeric, Post name, or a custom structure. The WordPress docs say to end a custom structure with %post_id% or %postname% so each address points to one post. If pretty permalinks do not work after you switch, the docs say to contact your hosting provider, because the server needs the right configuration.

A few details worth knowing

  • The post name tag turns a title like "This Is A Great Post!" into this-is-a-great-post.
  • If a post has several categories and you use the category tag, only one appears in the address, chosen alphabetically.
  • You can change the category and tag base words, but you cannot remove them from the address.

Changing it on a live site

Changing the structure changes the address of every post. Visitors, other sites and Google still use the old ones, so each needs a permanent redirect to its new address. We explain how Google handles that in WordPress redirects after you change a URL.

What not to expect

A readable address helps people and search engines understand a page. It is not a ranking trick, and WordPress does not say a particular structure gives better rankings. If you are starting a new site, pick one early and leave it.

Where to go from here

If your site still uses plain permalinks, our WordPress SEO services can plan the change and the redirects. Passieon is an independent agency and is not affiliated with Google or WordPress.

Sources

Frequently asked questions

What is a WordPress permalink?

The permanent address of a post, page, category or other archive on your site.

What permalink structure does WordPress use by default?

Plain, which looks like a web address ending in /?p=123. WordPress says it is not user-friendly and not optimized for search engines.

Where do I change permalinks?

In the WordPress dashboard under Settings, then Permalinks. You can pick a preset or enter a custom structure.

Is it safe to change permalinks on a live site?

WordPress says permalinks should not be changed. If you do, each old address needs a permanent redirect to the new one.

Why do my pretty permalinks give errors?

The WordPress docs say your host needs to configure the server for them. If they do not work, contact your hosting provider.

Does one permalink structure rank better?

WordPress describes pretty permalinks as SEO-friendly but does not say any particular structure ranks higher.

Want this done for your site? See what our WordPress SEO services page covers, or read the client results.

Book a call with us

A 30-minute call in your working hours. Tell us what you sell and where, and we will tell you what we would do first and what it involves. Prefer email? Send your website through the form and the Passieon Team will reply by email.

Book a call

Message us

Message us

Ask anything about your site or where your inquiries are going. It goes straight to a person, not a bot. Leave an email and you get a reply.