Which WordPress permalink structure is better in terms of performance and SEO:




Does it matter?

Google has big discussion here. But it's not from a WordPress perspective.

Which one should I use and why?

Edit: I noticed I get an advantage using /%post_id%/%postname% since any mistake etc after sitename.com/123/wrong-words?some=params&etc=etc gets redirected to the correct post. But for sitename.com/123/correct-full-postname/someword generates a 404.


It makes no difference performance-wise, if it did, there'd be something seriously wrong with WordPress.

The same goes for Google, if a lot of super smart people earning 100k salaries can't write software that handles a trailing slash, then something is terribly wrong with the world.

Either way, WordPress puts the rel="canonical" tag in the header so regardless of wether there's a trailing slash or not when you visit the page, Google will see that tag and see what the canonical authoritative URL for that page is.

As a side-note, Google doesn't reserve special rules for WordPress sites, they're all just sites as far as Google is concerned.

| improve this answer | |
  • Why can't worpress handle sitename.com/123/correct-full-postname/somewordbymistake instead returns a 404? – Debajyoti Das Jun 7 '15 at 14:19
  • That's an entirely different question that's unrelated to this one concerning rewrite rules and permalinks. Feel free to ask a new question, but I'd rather not introduce scope creep into this question ( though I agree it's relevant to your situation, just not your question ) – Tom J Nowell Jun 7 '15 at 15:18
  • Please do have a look wordpress.stackexchange.com/questions/190744/… – Debajyoti Das Jun 7 '15 at 15:33
  • Given it an upvote! – Tom J Nowell Jun 7 '15 at 16:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.