Done this before and i am still wondering what to do with the wp_posts => guid content
, which has reference to http://localhost
But at wordpress documentation it clearly states:
Never, ever, change the contents of the GUID column, under any circumstances.
But as i understand it is just to unique identify your posts globally. But as more people would have http://localhost in their guid.
So can i safely replace http://localhost with ?
regards
Done this before and i am still wondering what to do with the wp_posts => guid content
, which has reference to http://localhost
But at wordpress documentation it clearly states:
Never, ever, change the contents of the GUID column, under any circumstances.
But as i understand it is just to unique identify your posts globally. But as more people would have http://localhost in their guid.
So can i safely replace http://localhost with http://example ?
regards
Share Improve this question edited Nov 19, 2020 at 11:12 kanlukasz 5448 silver badges24 bronze badges asked Mar 4, 2012 at 17:35 alexalex 1,1123 gold badges17 silver badges39 bronze badges 2 |1 Answer
Reset to default 6"GUID" stands for "Globally Unique Identifier" mainly used by feeds to tell if that specific post was shown on the feed before or not, even if you change domains.
When developing on local host and the moving to live (+1 just for that BTW) and no feed reader/burner has read your feeds and only if that is the case it's OK to change it and start fresh on your new live host.
sudo nvim ~/backup_wp.sql
:%s/[old_domain]/[new_domain]/g
– bl3ssedc0de Commented Dec 1, 2022 at 21:05