Quote:
Originally Posted by Jel
Can you expand on why you say that please mate?
|
here is a quote from someone who has done it
Quote:
Here?s the really short version: I used /%postname%/ as my permalink structure on CSS-Tricks for a long time. I have lots of Pages. My site went down. I changed my permalink structure to begin with a number. Now it?s fine.
And the long version:
All the sudden one evening the server that runs this site and one of my other sites, CSS-Tricks seemed to get very slow (I noticed while trying to save a draft of a post). I tried visiting the homepage and various other parts of the site and it either took a long time or just timed out completely. Always a heart-sinking time for me, as I know very little about servers and how to troubleshoot them.
When the server responded at all, serving up just the base document was by far the slowest thing
|
and the problem with it
Quote:
Turns out it was the permalink structure set up in WordPress for CSS-Tricks that was the problem. From day one, about four years now, it?s been /%postname%/. I really like how short and readable the URL?s are in that structure. A URL like http://css-tricks.com/css-sprites/ is very clear about what that page is about, as well as great SEO for the search term ?CSS Sprites?. But alas, having your post structure set up like that has serious performance implications.
|
went from 2500 queries on one page, down to 40 when the change was made.
then from the wordpress codex
Quote:
For performance reasons, it is not a good idea to start your permalink structure with the category, tag, author, or postname fields. The reason is that these are text fields, and using them at the beginning of your permalink structure it takes more time for WordPress to distinguish your Post URLs from Page URLs (which always use the text ?page slug? as the URL), and to compensate, WordPress stores a lot of extra information in its database (so much that sites with lots of Pages have experienced difficulties). So, it is best to have at least two path segments in your post?s permalink structure such as /%year%/%postname%/ or even /posts/%postname%/.
|
url
http://digwp.com/2011/06/dont-use-postname/