Pages of website returns a WAMP homepage on my LocalHost?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arthurmani
    New Member
    • Mar 2013
    • 2

    Pages of website returns a WAMP homepage on my LocalHost?

    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 url.com to 127.0.0.1/url

    The home page works on the localhost but when I click on one of the menu links I get the WAMP homepage instead of the actual page. What have I done wrong and what can I check to solve the issue?

    On wordpress the URL on pages has been changed to 127.0.0.1/url which is a good sign. Is there a way to check the url that works in my wamp folders?

    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:

    define('WP_HOME ','http://127.0.0.1/website');
    define('WP_SITE URL','http://127.0.0.1/website');
  • arthurmani
    New Member
    • Mar 2013
    • 2

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

    Comment

    Working...