• So somehow when i was uploading my site to hostgator from localhost and changing configuration files i screwed up.

    everytime i try to login to WP from locahost it sends me to my website login http://www.sample.com/wp-login.php. Once I try loging in from my website (www.sample.com/wp-login.php) it sends me to my local host.

    I cant login no matter what for some reason.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you checked wp-config.php to make sure that the blog details are correct?

    Thread Starter BerserkFitness

    (@berserkfitness)

    Everything looks fine to me. Only other thing i did was put keys in but deleted them after the error

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    //define(‘WP_CACHE’, true); //Added by WP-Cache Manager
    define(‘DB_NAME’, ‘wordpress’);

    /** MySQL database username */
    define(‘DB_USER’, ‘root’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ”);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

    Thread Starter BerserkFitness

    (@berserkfitness)

    Also all my blog posts/comments where gone. the mysql stuff hasnt been delete. I must have altered something wrong.

    When i uploaded to my site i changed the settings from http://localhost
    to my site http://www.sample.com on my local files so now it directs me to the website.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘I messed up bad. Need help logging in’ is closed to new replies.