Permalinks and Performance

When you chose your permalink structure back in Chapter 3, you had a lot of tags you could choose from. However, a few of those tags can cause performance problems on large sites with hundreds of pages. Specifically, permalink structures that begin with the four string-based tags, %category%, %tag%, %postname%, and %author%, are significantly slower than those beginning with numeric tags. The reason is that WordPress has to store rewrite rules in a field in the options table for these less efficient structures. So, instead of using /%category%/%postname%/, you might use /%year%/%category%/%postname%/ instead.

Note that using the No Category Base plugin, as discussed in Chapter 3, only exacerbates this problem.

For a more complete discussion of the permalink performance problem, visit dougal.gunters.org/blog/2009/02/04/efficient-wordpress-permalinks.

Was this article helpful?

0 0

Post a comment