moving wordpress site from server to localhost redirecting to server homepage

  1. Check that the siteurl and home fields in the wp-options table have the new, local value, i.e. http://localhost/new-domain

  2. Try this, change your permalinks settings back to the default, save, you will see that your links are now working. You can then change back to post name or whatever your were using before.

Comments

Popular posts from this blog

Script For Login, Logout and View Using PHP, MySQL and Bootstrap

Real-Time Web Interface to MQTT using Socket.io and Node.js

Customize radio buttons and checkboxes with CSS sprites