WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How can I access wordpress dashboard locally for a dev version of a live site? (4 posts)

  1. holbri
    Member
    Posted 1 year ago #

    Hello,

    I am troubleshooting a live wordpress site that I developed a custom theme for. I am new to wordpress but have followed the forums during development. I built the site locally using MAMP then launched through bluehost and now have exported the current live version back to local for further development.

    I have exported the database and setup local version on my desktop using MAMP. I have change wp-config to recognize local database and wp_options (line 1 and 37) to read /localhost/...

    I can navigate site locally with current theme. However, I cannot login to wp-admin and access dashboard. I get the wp login screen but not able to login with localhost information.

    Is it possible to use the wp dashboard local copy of a live site?

    I need to make major changes to the current theme because the comments do not work and would like to do this on localhost with access to dashboard.

  2. When you get to the login screen on your localhost are you at a localhost url or the live server url?

    If you get a localhost url, then you should be able to login. The username and password will be the same as on the server.

    If the url changes, then that means that the url is the db are wrong. You'll need to change all instances of the server urls to the localhost one.

  3. holbri
    Member
    Posted 1 year ago #

    Thank you Christine

    I am at the localhost url and it does not change when I try to login but the server username and password does not work. Getting incorrect password for the username message.

    I tried to change the localhost database mysql settings back to server my sql settings which gives me a failure to connect to database on localhost.

  4. When you login, you don't need to use the server username and password, you need to use your WordPress username and password. Those are 2 different things.

    The username and password to login are the same you would use to log into your admin on the live sever.

    The server info is just for connecting to the database.

Topic Closed

This topic has been closed to new replies.

About this Topic