Support » Plugin: Search & Replace » S&R on wp_posts – replacing GUID strings is a no-no?

  • it appears that S&R will replace matched strings in the GUID column of wp_posts and it also appears that this is a huge no-no

    ref:

    Changing The Site URL – Important GUID Note

    When doing the above and changing the URLs directly in the database, you will come across instances of the URL being located in the “guid” column in the wp_posts tables.

    It is critical that you do NOT change the contents of this field.

    The term “GUID” stands for “Globally Unique Identifier”. It is a field that is intended to hold an identifier for the post which a) is unique across the whole of space and time and b) never, ever changes.

    another ref:

    MySQL Queries To Change WordPress From HTTP to HTTPS In The Database

    The bad advice that I’m referring to is when people suggest that you update the GUID URLs.

    The URLs in the GUID column of the wp_posts table should NOT be changed when moving your site from HTTP to HTTPS (see this from WordPress.org).

    is this correct and, if so, shouldn’t S&R either ignore the GUID col. on wp_posts, or offer an opt-in option to manipulate content within it???

    i’m getting ready to change all my internal links from http:// to // which lets the browser decide whether to use SSL or not (i have a cert)

    • This topic was modified 1 year, 4 months ago by atomizer. Reason: added 2nd reference
  • The topic ‘S&R on wp_posts – replacing GUID strings is a no-no?’ is closed to new replies.