Transferring WordPress To Local Environment
I've successfully gone through the process of setting the LAMP and then a Wordpress website.
I want to now transfer the wordpress i have on the IP provided to a local environment to work on.
- I have exported the database found on the IP address using phpmyadmin.
- Imported the database locally.
- I've downloaded the wordpress files using FTP.
locally, I've moved the index.html to a separate folder so it loads the index.php first.
when i try to navigate to the wp-admin side on my local enviroment, it points to the IP address wp-admin, how can i change this so it goes to my local admin page.
This- > <iP>/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2FWordPress%2Fwp-admin%2F&reauth=1
I Want -> localhost/WordPress/wp-login/
Digital Ocean Enviroment : Ubuntu 14.04
Local Enviroment: Ubuntu 14.04