Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    #1119371

    Hey thomasvr4,
    You could do a phpMyAdmin search and replace, please see this article.

    Best regards,
    Mike

    #1119957

    Dear 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.
    Thomas

    #1120371

    Hi,
    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

    Best regards,
    Mike

    #1120386

    Dear 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.
    Thomas

    #1120478

    Hi,
    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,
    Mike

    #1120657

    Dear 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.
    Thomas

    #1120869

    Hi 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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.