HostGator.com » Support Portal

Links on WordPress all Redirect Back to Home Page

If the .htaccess file was changed somehow, sometimes it can cause WordPress to redirect all pages back to the home page, instead of showing the page. Sometimes resetting the permalinks will solve this problem.

  1. Login to the WordPress Dashboard
  2. Click of Settings on the menu on the left hand side.
  3. Click on Permanlinks under Settings.
  4. Remember which setting it is set on now.  (If you are using a custom structure, copy or save the custom structure somewhere.)
  5. Select Default
  6. Click on Save Changes
  7. Change it back to the setting it was on before you selected Default. (Put the custom structure back if you had one.)
  8. Click Save Changes

This will reset the permalinks and many times this will fix the issue.

If that didn't work or your problem is slightly different, try these:

If you are getting home 404 Not Found errors when you click on links on WordPress, then some code may be missing from the .htaccess file.  To solve this problem, visit: 404 Errors after clicking WordPress links

If your blog is showing the wrong domain name in links, redirecting to another site, or is missing images and style, these are all usually related to the same problem: you have the wrong domain name configured in your WordPress blog.  For details on how to solve this problem, visit: WordPress Home Fix


Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment