[wp-hackers] Slow w/ Permalinks

George Pearce george at pearcedev.com
Wed Jul 23 19:18:22 GMT 2008


Does this still count true for date based posts?
Like /%year%/%month%/%postname%/
?

George Pearce
George at GPearce.co.uk
http://www.gpearce.co.uk
(+44)07854520988
Skype / AIM ID: iamgspx
 

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Alexander Concha
Sent: 23 July 2008 20:15
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] Slow w/ Permalinks

Ryan Boren escribió:
> On Wed, Jul 23, 2008 at 11:02 AM, Alexander Concha <alex at buayacorp.com> wrote:
>>> The big question is why. Did i miss something when i added the info (I
>>> correctly inputted gui info for each item added)? Can anyone venture a clue?
>>> It's been driving me out of my mind so much i'm willing to compensate
>>> someone for their time if they can look and give me a defining answer.
>>> Thanks.
>> If I'm not mistaken, WP generates 3000x4 rewrite rules for your pages,
>> that's why it's so slow.
>>
>> To avoid this, you can set $wp_rewrite->use_verbose_page_rules in false and
>> then use a slight different permalink structure
>> "/posts/%category%/%postname%" -- I've used this hack to solve a similar
>> problem.
> 
> If you start the structure with 'posts' instead of  '%category%',
> use_verbose_page_rules should automatically be set to false.

Thanks for the clarification, I didn't realize about that.

Regards
-- 
Alexander Concha
http://www.buayacorp.com/

Y me creían fundido...!
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.5/1569 - Release Date: 23/07/2008 13:31



More information about the wp-hackers mailing list