Created
June 5, 2018 06:54
-
-
Save aktaumag/c62fbe24b8c101e2021bda3b6f216ec8 to your computer and use it in GitHub Desktop.
Как поменять в базе данных все ссылки d постах на относительные. Полезно при перезде на https
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE wp_posts SET post_content = REPLACE (post_content, 'http://webseo.kz/', '/'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment