[wp-hackers] Performance improvement -- '/%postname%/%post_id%/' over '/%postname%/'?

Nicholas Ciske nl at thoughtrefinery.com
Sat Jan 11 16:57:16 UTC 2014


Theoretically the second would be faster but as of 3.3 it's pretty negligible unless you have a lots of pages or very deep page hierarchy.

http://ottopress.com/2011/how-the-postname-permalinks-in-wordpress-3-3-work/

Cached version (above gave me a nginx error)
http://webcache.googleusercontent.com/search?q=cache:KiMNuNmIbykJ:ottopress.com/2011/how-the-postname-permalinks-in-wordpress-3-3-work/

_________________________
Nick Ciske
http://thoughtrefinery.com/
@nciske	

On Jan 11, 2014, at 10:44 AM, Aahan Krish wrote:

> Considering that many posts are made each day (upwards 50), which of these
> two permalink structures would suit us best?
> 
> /%postname%/, e.g. domain.com/sample-post/
> 
> /%postname%/%post_id%/, e.g. domain.com/sample-post/123/
> 
> Will the '/%postname%/%post_id%/' permalink structure help as the database
> size grows (i.e. the no. of posts)? or can we simply stick with
> '/%postname%/' no matter what?



More information about the wp-hackers mailing list