Wordpress issue: after migration only homepage works

Forrestgump360 picture Forrestgump360 · Feb 10, 2017 · Viewed 14.4k times · Source

A few days ago I tried transferring my wordpress website from shared hosting to vps but I've run into a problem.

After following many guides/tutorials and googling myself I can't figure out why it's not working. The homepage is the only page that loads all other pages 404. I've included some relevant files.

Does anyone have any ideas?

HTACCESS

httpd.conf

Partial directory listing - www.pastebin.com/BCPfRisB

Thanks in advance

Answer

hemnath mouli picture hemnath mouli · Feb 10, 2017
  1. Login to your wp-admin
  2. Go to Settings > Permalinks
  3. Don't make any changes, just click "Save Changes" button.

Your site's secondary page would work now.