[wp-hackers] Permalink Performance
Otto
otto at ottodestruct.com
Thu Sep 2 17:51:19 UTC 2010
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:
http://ottopress.com/2010/category-in-permalinks-considered-harmful/
-Otto
On Thu, Sep 2, 2010 at 12:48 PM, Ashish Saini
<ashishsainiashfame at gmail.com> wrote:
> Its the same. It doesn't matter if you put a static string ahead it.
> WP will still have to figure things out.
>
> Thanks & Regards
> Ashish Saini aka Ashfame
> (Deserve Before You Desire)
> Homepage : http://www.ashfame.com | Blog : http://blog.ashfame.com | Twitter
> : http://twitter.com/ashfame
>
>
> On Thu, Sep 2, 2010 at 11:15 PM, Ryan Bilesky <rbilesky at gmail.com> wrote:
>
>> According to http://codex.wordpress.org/Using_Permalinks
>>
>> Permalinks for posts should start with some sort of number.
>>
>> "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 start your permalink structure with a
>> numeric field, such as the year or post ID."
>>
>> Now my question is this, I would like to have my permalinks for posts look
>> like this: mysite.tld/blog/%postname%
>>
>> Does anyone know if this will cause any performance issues since they start
>> with a static string?
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list