Website Address Keep redirect to website after migration attempt

It sounds like you change the configuration on the local server. You need to put it back. that local configuration information needs to remain unchanged if you intend to continue working on the local copy, which you should. Breaking a local development version of the site is a lot less painful than breaking the live version. 🙂

The easiest way to sort this out is to add the following two lines to your wp-config.php file on your local server.

define('WP_SITEURL', 'http://example.com/wordpress');
define('WP_HOME', 'http://example.com/wordpress'); 

Obviously, the domain needs to be changed– probably to localhost but if the local server has a static (internal) IP using the xxx.xxx.xxx.xxx IP is better.

I don’t know what else you did so there may be more steps but I hope that fixes it.

For reference:

  1. http://codex.wordpress.org/Moving_WordPress
  2. http://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29