Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using WAMPSERVER for windows 7, smartgit and Safe Search Replace I have done the following steps:

  • Pulled a wordpress code from a github repository using smartgit
  • Downloaded the database from the server's phpmyadmin
  • Imported it to my localhost's phpmyadmin using WAMP.
  • Replaced the strings from to

The home page of the website works on the localhost but when I click on one of the menu links I get the WAMP homepage instead of the actual page.

On the wordpress dashboard, I have checked and the URL on pages has been changed to which is a good sign.I have also checked in the database the actual name of the the page and even the page did showed a WAMP home page.

I have tried renaming index.php to index.php.old and replacing it with the index.php from the root folder of a fresh download of WordPress but it did not help.

I have tried the following in WP-Config to use the localhost URL instead of the one saved to the database but it didn't work:


What have I done wrong and what can I check to solve the issue?

share|improve this question

Go to settings/permalinks in the wordpress dashboard and update permalinks by clicking twice on save changes. That's all.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.