• Hi there…
    ok so I have done this before with no problem (it took alot of research and hours of finding the right post that clearly pointed out the steps to take.) I unfortunately just cannot find that post again much to my dissapointment. However I have tested my method using an instal from one localhost (from my mac having used MAMP) to another (to a pc using XAMPP)

    It was successful with only minor permalink issues with certain images inserted into pages, this can be quickly changed though.

    My steps were as follows:

    1.Export my current database as a sql.zip – so it looked something like data_base_name.zip
    2.Then I took my entire wordpress folder in which my wordpress content is stored. NOTE: here i took the entire folder with the wordpress-admin,wp-content & wp-includes, not just the content folder.
    This was done FROM localhost nr 1 (in this case, my mac)

    3. I setup a NEW database using XAMPP (in this case, the pc i was using) – I gave this database a new name for test purposes but the same name would probably be best.

    4. I then imported the data_base_name.zip into my new database. NOTE: here it took me a short while to figure out why it kept coming back with error messages and it would not upload. There is an option that says the following;
    “Allow the interruption of an import in case the script detects it is close to the PHP timeout limit. (This might be a good way to import large files, however it can break transactions.)” – this option is ticked by default. UNTICK it if you have a problem uploading.

    5. I opened up my config.php file and changed my
    DB_NAME – to the new database name I created (If it is the same, then leave the database name as is)
    DB_USER – to the new user name of the localhost (in this case, it was root for both)
    DB_PASSWORD – to the password that was given for the new localhost
    DB_HOST – this stayed localhost for both

    6. I opened phpMyAdmin in my XAMPP module and went over to the wp_options (mine is wp_2options) in here I changed the following:
    siteurl
    home
    and then I went through the tables to see if there were any other links to my previous localhost and i changed them all to the current localhost. (i only had about 8)

    and the site was up and running. again with a few permalink issues, but nothing I can change manually

    So for anyone who wants to move wordpress installations locally from one computer to the next…this works.

    MY QUESTION IS:
    it’s not working on the live site. I have done EXACTLY the same thing.
    I’m using GoDaddy (yes, yes, I know) but I’ve done this before with no problem. They have a new system they are using called plesk and for the life of me I cannot find the DB_HOST for my database. there used to be a little pencil icon one could click on and you would find all the info you needed right there. now all I can find is : database server IP address (and i assumed I should use this…but I don’t think this is right?)

    Also, previously I put the folder directly in the root. now they have an httpdocs folder apparently in which the files should go. so… to recap. I have the following problem. When i put the files into the httpdocs folder and I try to reach my website… it gives me a screen that says website coming soon.
    When I put my files directly on the root it gives me a 403 forbidden message.

    I’m wondering if I have done something wrong or if I’m missing steps that are crucial to setup of a live website?
    Maybe someone else has come across this issue. It should be noted that my client is using the windows hosting. (When setting up godaddy gave no other choice than to use the new plesk interface with windows hosting)

    Any help, from anyone would be great***
    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try reviewing Moving_WordPress.

    Thread Starter FRGD

    (@frgd)

    Hi there:)

    Thanks for the link. that was one of the very first articles I read to see If I had done something wrong (which I had and then realised to change my URL’s to point to the new one)

    But this still doesn’t resolve my problem.\

    The default setting I have points to a directory on the root. httpdocs was the one specified. I have since changed this to a different name and begun the process from scratch. i now get the following error:
    ……………………………………………………………

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at 50.62.209.12:3306. This could mean your host’s database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    ……………………………………………………………..

    From this I assume that it is a GoDaddy/ Plesk issue and not something I have done wrong. Please don’t close this topic just yet. I would like to post my findings for the next poor GoDaddy sucker who has the same problem. (that is when they get back to me)

    Thread Starter FRGD

    (@frgd)

    Ok…so the web is up and running. at least that is the theme and my posts. Do I need to start a new topic for a different question related to the same website?

    I recieved the following article from GoDaddy: which helped
    https://support.godaddy.com/help/article/3323

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress site from localhost to godaddy’ is closed to new replies.