[wp-hackers] Post URL

Mark Jaquith mark.wordpress at txfx.net
Fri Sep 14 22:35:56 GMT 2007


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/




More information about the wp-hackers mailing list