July 16, 2019 at 8:33 pm #1119292
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 #1119371
You could do a phpMyAdmin search and replace, (Purchase code hidden if logged out) -replace-your-database”>please see this article.
MikeJuly 18, 2019 at 5:17 pm #1119957
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.
ThomasJuly 20, 2019 at 3:33 am #1120371
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/Export
MikeJuly 20, 2019 at 5:43 am #1120386
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?
ThomasJuly 20, 2019 at 8:49 pm #1120478
I tried to take a look at your images, but I couldn’t find any linked to the old site, are there many?
MikeJuly 21, 2019 at 5:05 pm #1120657
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?
ThomasJuly 22, 2019 at 3:27 pm #1120869
You must be logged in to reply to this topic.