Wordpress localhost not working [duplicate] Wordpress localhost not working [duplicate] wordpress wordpress

Wordpress localhost not working [duplicate]


If it does not work, you can try using php built-in server.Go to your project root directory and execute the below command in console.

php -S localhost:8000


I can mention some basic steps without having much knowledge about your installation,

  1. Go to phpmyadmin, option wp_options, change WP_HOME and WP_SITEURL values, no need to define on wp-config.php

  2. Rename your plugins folder to something like "plugins1" and access admin, if you can access then go straight to update your Permalink.

  3. 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