Problems migrating WordPress to localhost

First of all what I assume is your local server is not parsing the php properly. So just put a simple phpinfo file and see if that show you the expected page. You can take reference from the following link if you don’t know how to create a phpinfo page – https://mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page

If the above shows you phpinfo information, then I would say check your wp database. In wp_options table, see if your site is still pointing to your domain or http: //localhost. It has to be http ://localhost.

see step 4: http://www.inmotionhosting.com/support/website/wordpress/wordpress-changing-the-site-url-and-home-settings

lastly, if above don’t work, replace your .htaccess with a default wp one and see how that goes. good luck.

Leave a Comment