transfer website to another server and changing domain name

  • Unknown's avatar

    Hi!
    I am beginner in WordPress.
    I need to migrate a wordpress website from WP Engine to another shared host for ex. GoDaddy.
    After transfered website to new host and change wp-config.php, I must change via PHPMYADMIN urls, domain name ,guid of posts etc. following this SQL query:

    ‘ UPDATE wp_options SET option_value = replace(option_value, ‘http://old-domain.wpengine.com’, ‘http://new-domain.com’) WHERE option_name = ‘home’
    OR option_name = ‘siteurl’;

    UPDATE wp_posts SET guid = replace(guid, ‘http://old-domain.wpengine.com’,’http://new-domain.com’);

    UPDATE wp_posts SET post_content = replace(post_content, ‘http://old-domain.wpengine.com’, ‘http://new-domain.com’);

    UPDATE wp_postmeta SET meta_value = replace(meta_value,’http://old-domain.wpengine.com’,’http://new-domain.com’);

    UPDATE wp_options SET option_value = replace(option_value, ‘http://old-domain.wpengine.com’, ‘http://new-domain.com’) WHERE option_name = ‘home’
    OR option_name = ‘siteurl’;

    UPDATE wp_posts SET guid = replace(guid, ‘http://old-domain.wpengine.com’,’http://new-domain’);

    UPDATE wp_posts SET post_content = replace(post_content, ‘http://old-domain.wpengine.com’, ‘http://new-domain.com’);

    UPDATE wp_postmeta SET meta_value = replace(meta_value,’http://old-domain’,’http://new-domain.com’);’

    After executed succesfuly above SQL query i can access homepage but i cannot access another pages
    Page named products in old server:
    http://old-domain.wpengine.com/products/

    Page named products in new server:
    http://new-domain.com/products/
    When i click http://new-domain.com/products/ i get error 404
    How can solve this problem without using plugins and panel adminstration ??
    Note: I have no access in wp administration panel

    Thanks to all!

  • Unknown's avatar

    I need to migrate a wordpress website from WP Engine to another shared host for ex. GoDaddy.

    We are unable to provide support for any blogs that are not hosted here at WordPress.COM.

    WordPress.com and WordPress.org are completely separate and have different logins, features, run different versions of some themes with the same names, and have separate support forums. http://support.wordpress.com/com-vs-org/

    If you don’t have a username account at WordPress.ORG click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the support forums there and receive advice from WordPress.ORG bloggers.

    Resetting your WordPress.ORG password http://codex.wordpress.org/Resetting_Your_Password
    WordPress.org support docs are at https://codex.wordpress.org/Main_Page

  • The topic ‘transfer website to another server and changing domain name’ is closed to new replies.