arthurmani Posted March 3, 2013 Share Posted March 3, 2013 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 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 127.0.0.1/url which is a good sign.I have also checked in the database the actual name of the the page and even the 127.0.0.1/id page did showed a WAMP home page. What have I done wrong and what can I check to solve the issue? Link to comment https://forums.phpfreaks.com/topic/275175-pages-of-website-returns-a-wamp-homepage-on-my-localhost/ Share on other sites More sharing options...
Christian F. Posted March 3, 2013 Share Posted March 3, 2013 Tried deleting the default "index.html" file? Link to comment https://forums.phpfreaks.com/topic/275175-pages-of-website-returns-a-wamp-homepage-on-my-localhost/#findComment-1416201 Share on other sites More sharing options...
arthurmani Posted March 3, 2013 Author Share Posted March 3, 2013 Yes I did but it didn't work. 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_SITEURL','http://127.0.0.1/website'); Link to comment https://forums.phpfreaks.com/topic/275175-pages-of-website-returns-a-wamp-homepage-on-my-localhost/#findComment-1416204 Share on other sites More sharing options...
arthurmani Posted March 3, 2013 Author Share Posted March 3, 2013 Go to settings/permalinks in the wordpress dashboard and update permalinks by clicking twice on save changes. That's all. Link to comment https://forums.phpfreaks.com/topic/275175-pages-of-website-returns-a-wamp-homepage-on-my-localhost/#findComment-1416212 Share on other sites More sharing options...
Christian F. Posted March 3, 2013 Share Posted March 3, 2013 So you got it to work..? Link to comment https://forums.phpfreaks.com/topic/275175-pages-of-website-returns-a-wamp-homepage-on-my-localhost/#findComment-1416214 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.