[wp-hackers] Post URL

Omry Yadan omry at yadan.net
Sat Sep 15 06:39:09 GMT 2007

This will work, but it has an extra penalty of checking if something is
a post and if the title is in the database for each access.

I`d rather avoid extra overhead.

I thought that guid was not supposed to change, thanks for making it clear.

Mark Jaquith wrote:

> On Sep 14, 2007, at 6:22 PM, Omry Yadan wrote:
>> the big question is, can I trust the post guid? what happens if the user
>> changes the permalink structure? will the post guid be changed with it?
> Post GUIDs should not change after they are set.  They are not a
> reliable indicator of the current URL for the post.  They are merely a
> unique token for that post.
> How about a rolling upgrade that happens as posts are accessed?  That
> is, the first time a post is accessed, see if you have its title in
> your table structure.  If not, add it then.
> -- 
> Mark Jaquith
> http://markjaquith.com/
> Covered Web Services
> http://coveredwebservices.com/
> WordPress Ninja @ b5media Inc
> http://b5media.com/
> _______________________________________________
> 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