• Hi All,

    I’m hoping you can help (and hoping the answer doesn’t involve loads of manual work ?? ).

    I made a wordpress site a few years back for someone. They have administered it since then, but they’ve just contacted me with a problem. They can’t update posts, I’ve looked in to it, and it looks like the problem is GUIDs. Some of the post GUID look fine, but quite a lot of them seem to be the same as the first parts of the content field.

    This is an example of one of the ‘incorrect GUIDs’:
    [et_pb_section fullwidth="on" specialty="off" admin_label="Section"][et_pb_fullwidth_slider admin_label="Fullwidth Slider" show_arrows="on" show_pagination="on" auto="off" auto_ignore_hover="off" parallax="off" parallax_method="off" remove_inner_shadow="o

    To me that doesn’t look right! They did move the site to a new server a while back, I’m assuming this is when it all went wrong.

    My question is; is there a way of ‘rebuilding’ GUIDs?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The GUID should not affect whether the post can be updated. They are only used for determining which posts have been read in a feed. See https://codex.www.ads-software.com/Changing_The_Site_URL#Important_GUID_Note

    It looks like there was a plugin that messed up the GUIDs though. I don’t think there’s anything in core to manipulate them. It might be best to use phpMyAdmin to set them in a SQL query.

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi,

    One possible way of “fixing” it would be if there is a backup of the database available and using that but I can only guess that there isn’t one.

    Thread Starter azzwizz

    (@azzwizz)

    The problem is, I don’t know how long this has been going on. I just checked a backup from 2 months ago and it was like it then.

    Interestingly, recent posts are fine. They can update them, but it’s posts older posts than Nov 18 that seem to have the update and GUID issues.

    Thread Starter azzwizz

    (@azzwizz)

    I just manually corrected the GUID(I know I know you’re not supposed to edit GUIDs, i took a backup first!) on one of the posts that wasn’t working and it fixed the problem straight away.

    I changed it from something like:
    [et_pb_section bb_built=”1″ admin_label=”section”]…

    To something like:
    Website_URL/?post_type=project&p=2576

    Went back to the post, made a change, and it saved fine.

    Any ideas as to why this could be? Also if anyone has a way of automating the correction of all the posts that are wrong, I’d appreciate it!!

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    The quickest way would really be using phpMyAdmin if you are not too comfortable making an SQL query via the command line. I know there are some available GUIs available as well but I haven’t used vary many.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Messed up GUIDs’ is closed to new replies.