wordpress permalink best practice?

i’ve been struggling with this setting for a few hours!! after reading alot of reference from permalink documentation page and crosscheck it with SEO objective…. i ended in this conclution: “a blog can’t be a perfect SEO-ed site”

here’s why? when i search google for “something you” the best SEO-ed URL result for this query is this at the moment”

see there’s no id in this URL which is this type of URL is the best implementation of SEO, which every part of the link gives information about what contained in that page, but that against the rules of codes, which the best practice of searching data using query is using an id (i understand this, but i can’t explain it here, it can make a new topic alone), and it is written in worpress manual page

Starting Permalinks with %postname%, %category%, %tag%, %author% is strongly not recommended for performance reasons..

so be it, i go with their recommendation to not start the permalink with %postname% which is that the way i want it :( i ended up googling for some information and the manual page landed me on this page too, otto makes a quite good explanation on how the algorithm works, and recommend to not use %category% as the starting of permalink

i ended up make a little experiment, i use some custom permalink combinaton including

  • /%year%/%monthnum%/%day%/%postname%/ (common blog default)
  • /%year%/%postname%/ (quite good, otto’s prefer this)
  • /%postname%/ (i prefer this actually but not recommended by wordpress, so i forget it)
  • /read/%postname%/ (i think this one can be a replacement for %postname% till i found that when i put a static /read/ in front of it, it apply to other pages too, like /author/admin/ become /read/author/admin/, /2011/01/ become /read/2011/01/ and no, that’s not the solution, which i want /read/ only apply to posts, so wordpress engine won’t confused between pages permalink and post permalink or author permalink or tag permalink etc)

i haven’t yet try to take a peek on wordpress engine, on how the way they handle ‘pretty‘ permalink, so i ended up using /%post_id%/%postname%/ as my custom permalink, using this permalink i trust to make the engine not confused, by giving just it works for too, but i think that /%postname%/ type of URL actually can be achieved, but on custom made site, of course, and i’ll implement it on my personal site later for sure.

By Robby

Database Administrator, PHP programmer, lives in Jakarta, Indonesia, home town Pekanbaru, Riau, Indonesia