[wp-hackers] Permalink Performance
ashishsainiashfame at gmail.com
Thu Sep 2 20:14:11 UTC 2010
My apologies for the wrong answer. I thought the static string would be
added in Pages URL too (which is not the case). Had it been like that then
it would have had no effect and performance issues would have creep in.
Thanks & Regards
Ashish Saini aka Ashfame
(Deserve Before You Desire)
Homepage : http://www.ashfame.com | Blog : http://blog.ashfame.com | Twitter
On Fri, Sep 3, 2010 at 12:33 AM, Dougal Campbell <dougal at gunters.org> wrote:
> 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:
> 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>
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers