-
AuthorPosts
-
July 16, 2019 at 8:33 pm #1119292
Hi,
I have a question of migrate the website.
I want to migrate the website from A to B. (two website is not the same url name)
I use phpMyAdmin to export / import the database, but I found some url in the database is still the old setting (A), not the new one.
Is there any way to change the url in database quickly?Please give me a help. Thanks very much.
July 17, 2019 at 4:30 am #1119371Hey thomasvr4,
You could do a phpMyAdmin search and replace, please see this article.Best regards,
MikeJuly 18, 2019 at 5:17 pm #1119957Dear Mike
I tried to use your way to replace the database.
ex : update ygr_layerslider set data = replace(data, ‘ygr.tw’,’ygr-wp.com’);
It works fine, but the result is not the same as before. Some Enfold setting was changed.
Please see the url : https://www.ygr-wp.com/The text color changed to green, the original color is black.
The logo changed to Enfold, the original logo is my own picture.
The main page is changed, the original main page is https://www.ygr-wp.com/home/
And many setting was changed. Why?
I replace all text ( ‘www.ygr.tw’ ) to text ( ‘ http://www.ygr-wp.com’ ), but the result is not I want.Best regards.
ThomasJuly 20, 2019 at 3:33 am #1120371Hi,
Sorry, I don’t know why this would have happened, try checking the settings and saving them again, or you could import the theme settings file from Enfold Theme Options > Import/ExportBest regards,
MikeJuly 20, 2019 at 5:43 am #1120386Dear Mike
I import the theme settings file from Enfold Theme Options > Import/Export , but some picture’s url path is still the old one, is it right?
Best regards.
ThomasJuly 20, 2019 at 8:49 pm #1120478Hi,
I tried to take a look at your images, but I couldn’t find any linked to the old site, are there many?Best regards,
MikeJuly 21, 2019 at 5:05 pm #1120657Dear Mike
Yes, I use phpMyAdmin to replace all old site’s url path to new one.
I am confused. Do I have to manually replace all picuture’s url path when I move old site to a new site?
I always think the picture path is relative path, but when I open the .sql file and find the keywords of picture path. I saw many picture path is absolute path. Am I right?Best regards.
ThomasJuly 22, 2019 at 3:27 pm #1120869Hi Thomas,
Please have a look at this article
https://www.wpbeginner.com/plugins/how-to-update-urls-when-moving-your-wordpress-site/Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.