[wp-hackers] Why URL in GUID?
David Chait
davebytes at comcast.net
Wed Oct 4 04:25:26 GMT 2006
Not if 'hackers' had a way to set the GUID prefix in say wp-config, so a
given local test-site's GUID's would be generated with the eventual 'real
URI'... something like that. Heck, I'd prefer to not store the WP site URLs
in the DB, so that moving a site around becomes that much simpler (change
something like wp-config, and not entries in the DB). That's of course just
IMHO. ;) :)
-d
----- Original Message -----
From: "Computer Guru" <computerguru at neosmart.net>
To: <wp-hackers at lists.automattic.com>
Sent: Tuesday, October 03, 2006 5:02 PM
Subject: Re: [wp-hackers] Why URL in GUID?
> Just a quick observation:
> No matter what you use as the GUID, exporting the entire MySQL DB and
> putting it on the remote server means its not ging to be unique no
> matter what. So URI or otherwise, exporting SQL from test to
> production means there'll be a guid overlap in there somewhere. :-)
>
> On 10/3/06, Geoffrey Sneddon <foolistbar at googlemail.com> wrote:
>>
>> On 3 Oct 2006, at 05:58, David Chait wrote:
>>
>> > EEEEK. +1...million!
>> >
>> > All prior notes were that the guid is JUST a guid -- while it might
>> > LOOK like a URI, it shouldn't be USED as one. Bad form! ;)
>>
>> In RSS 2.0, it has an attribute "ispermalink", which defaults to
>> true. If it is not set, or is set to true, it can be used as one.
>
More information about the wp-hackers
mailing list