Wordpress localhost not working [duplicate]
I can mention some basic steps without having much knowledge about your installation,
Go to phpmyadmin, option wp_options, change
WP_HOME
andWP_SITEURL
values, no need to define on wp-config.phpRename your plugins folder to something like "plugins1" and access admin, if you can access then go straight to update your Permalink.
After updating permalinks rename plugins folder back to
plugins
then access plugin section on wp-admin.
UPDATE
After migration you are advised to replace all urls through out data base with old url. Please checkout the following plugin, it will surely help you out.
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Let me know if still finding issue.
Its because of plugins that redirect like you may use some security plugin, Please deactivate all plugins ( to deactivate all plugins from database please check this link https://www.templatemonster.com/help/wordpress-disable-plugins-via-database-manual-removal.html )and delete cache folder and change base url from database no need to change config file
You can check base url for database here . url (http://www.inmotionhosting.com/support/website/wordpress/wordpress-changing-the-site-url-and-home-settings)Let me know if it helps
Last this you can try edit config file to show error reporting so that if any error related to custom it will display(Wp-config.php file change this define('WP_DEBUG', true); true to show errors). Thanks