[wp-hackers] Permalink Performance

Dougal Campbell dougal at gunters.org
Thu Sep 2 19:03:22 UTC 2010

  On Sep 2 2010 1:51 PM, Otto wrote:
> Not true. A static string at the front of the custom permalink string
> will avoid the issue.
> It depends on your setup and the particular permalink string you use.
> - If you use just %postname% as the permalink string, then yes.
> - If you use blog/%postname% as the permalink string, then no.
> Also, this only actually causes a problem if you have a lot of Pages.
> See my post on the topic:
> http://ottopress.com/2010/category-in-permalinks-considered-harmful/
> -Otto

And mine, as well:


The fact that starting permalinks with a static string avoids problems 
seems to get lost in the noise. But best practice is to use a static 
string ('/blog/...', '/news/...', etc)  *or* stick to the numeric 
variable subsitutions. These help WordPress disambiguate from things 
like categories that force it to perform extra checks.

Dougal Campbell <dougal at gunters.org>

More information about the wp-hackers mailing list