• Hello guys,
    I want to move my entire website from site A to site B.
    I back up the SQL data and also copied to my computer the entire FTP folder from site A.
    I copied the entire folder to FTP site B and also imported SQL data from A to B but still nothing.
    There is no theme to install , only sample wordpress site on the new one.
    What did I do wrong ?

    Thank you for your help

Viewing 15 replies - 1 through 15 (of 22 total)
  • I want to move my entire website from site A to site B.

    I think you mean to say “from path A to path B”, and that would mean you must now edit the new wp-config.php to use the imported SQL data (including database name, table_prefix, SQL username and password) after it (the database) has been updated to the new URL (path):

    cPanel > phpMyAdmin SQL
    note: Edit ‘pref’ (three places below) to your own table_prefix and change ‘http://www.olddomain.com’ and ‘http://www.newdomain.com’ as required (three places each and with no trailing slashes)

    UPDATE pref_options SET option_value = replace(option_value, 'http://www.olddomain.com', 'http://www.newdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
    UPDATE pref_posts SET guid = replace(guid, 'http://www.olddomain.com', 'http://www.newdomain.com');
    UPDATE pref_posts SET post_content = replace(post_content, 'http://www.olddomain.com', 'http://www.newdomain.com');
    Thread Starter jorej920

    (@jorej920)

    thank you but I can’t find that.. is there a video ?

    Thread Starter jorej920

    (@jorej920)

    What are the steps in transferring from path a to path b ?
    Maybe I did something wrong from the beginning .. πŸ™

    Thread Starter jorej920

    (@jorej920)

    I have the php admin on 1and1.com

    What are the steps in transferring from path a to path b ?
    Maybe I did something wrong from the beginning .. πŸ™

    Everything you have done so far looks fine to me…but here are some links where you can double-check, if you wish:
    https://codex.wordpress.org/Moving_WordPress
    https://www.google.com/search?q=moving+wordpress

    I have the php admin on 1and1.com

    That is where you go with the code I have posted after making the necessary edits. Go to phpMyAdmin and find your database, then run the edited coded as “SQL” from the tab near the top of phpMyAdmin.

    note: Always, always first download a backup copy of all tables prior to making any changes.

    Thread Starter jorej920

    (@jorej920)

    MySQL said: Documentation

    #1146 – Table ‘db589056962.pref_options’ doesn’t exist

    Can I give you my login credentials so you can do it for me ?

    Thread Starter jorej920

    (@jorej920)

    Errors … πŸ™

    I can pay you to help me

    We never make solicitations here in these forums, and we never even offer to help anywhere other than here.

    What kind of errors did you get?

    edit: Ah, I see!

    You did not edit “pref” to your own table_prefix…

    'db~~~62.pref_options'

    Thread Starter jorej920

    (@jorej920)

    #1146 – Table ‘db589056962.pref_options’ doesn’t exist

    Thread Starter jorej920

    (@jorej920)

    when I entered your code at the SQL :

    #1146 – Table ‘db589056962.pref_options’ doesn’t exist

    You did not edit “pref” to your own prefix…

    db~~~62.pref_options'

    note: You should never post your database name or table_prefix publicly since every hacker in the world will be able to know it without having to try to figure it out. So after all of this is done and you have things working, we can next also deal with that!

    Thread Starter jorej920

    (@jorej920)

    here is a print screen :

    http://i60.tinypic.com/2w3c0sz.jpg

    See above.

    Thread Starter jorej920

    (@jorej920)

    Sorry about that, I did not know.
    How do I edit pref ?
    Sorry for all the questions

    You would edit ‘pref’ the same way you must edit the old and new URLs in that code, and I do that with NotePad++. However, you can do that with any plain-text editor as long as it truly is plain-text and does not add any kind of formatting.

    Sorry for all the questions

    No problem at all. It is far better to ask than to guess-and-poke!

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Problems Moving it’ is closed to new replies.