我检查了多个问题,似乎找不到答案。
如何更新URL列表,使其在永久链接末尾包含“-google”,或将URL设置为自定义URL。我的URL列表是100多个,我知道URL是什么,应该是什么。
For example:
https://examplesite.com/customer/customer-name
更改为:https://examplesite.com/customer/google-customer-name
I have already updated the URLs in the post_content using this below:
UPDATE wp_posts SET post_content = REPLACE (post_content,\'https://examplesite.com/customer/customer-name\',\'https://examplesite.com/customer/google-customer-name\');
这对帖子内容有效,但它不是更新这些页面永久链接的解决方案,这正是我所需要的。