• I just uploaded my WP site from localhost to the live host server, but I’m having a couple problems that are driving me crazy:
    1. All the files are uploaded and my host is GoDaddy and my database, the database name is correct, user and password. As to the host a put and database IP that I got from Godaddy, the problem is that in the browser getting a message “The page isn’t redirecting properly”. I have no clue on how to proceed form here or what I could possibly be doing wrong?
    2. Via the browser I could enter the front end of my WP-login, but my localhost username and password that I used in building the site. What username and password should I be using? The database username and password that used in creating the new database in the hosting server?

    I would appreciate your thoughts on this matter

Viewing 1 replies (of 1 total)
  • After uploading the database and setting wp-config.php (database name, table_prefix, SQL user and password) to tell WordPress how to access it, the database itself needs to be updated from your localhost URL to its new one…
    * 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');

    Then at that point, your site login credentials will still be whatever is in the uploaded database.

Viewing 1 replies (of 1 total)

The topic ‘Problem with uploaded site’ is closed to new replies.