Change custom post type GUID in RSS

The feed template files call the_guid(), which calls get_the_guid(), which has a filter named (surprisingly) get_the_guid. You can hook into this filter to change the output. The filter only gets the current GUID, not the post ID, so look this up in the global variable if you need it. add_filter( ‘get_the_guid’, ‘wpse17463_get_the_guid’ ); function wpse17463_get_the_guid( … Read more

Moving WordPress Directory (same domain) – GUID issue?

GUIDs are not URLs, they are unique identifiers that happen to look like URLs. It was, in my opinion, a poor design choice to make them URLs, because it causes a lot of confusion. They are essentially a way to establish the “global uniqueness” of a post, and you should not change these for content … Read more

Importing Direct to DB – GUID Question

Short answer: yes The GUID field is meant to represent a globally unique identifier for the post. In WordPress we just happen to use the URL. The GUID field should never be thought of as an actual URL, though … just an identifier for the post. In reality, the GUID field could contain anything that’s … Read more

tech