Jump to content


Photo

Pages of website returns a WAMP homepage on my LocalHost?

wampserver wamp localhost

  • Please log in to reply
4 replies to this topic

#1 arthurmani

arthurmani

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 03 March 2013 - 08:35 AM

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?


Edited by arthurmani, 03 March 2013 - 08:50 AM.


#2 Christian F.

Christian F.

    Advanced Member

  • Staff Alumni
  • 3,106 posts
  • LocationNorway

Posted 03 March 2013 - 10:45 AM

Tried deleting the default "index.html" file?
Keeping it simple.

#3 arthurmani

arthurmani

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 03 March 2013 - 11:00 AM

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');



#4 arthurmani

arthurmani

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 03 March 2013 - 11:31 AM

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



#5 Christian F.

Christian F.

    Advanced Member

  • Staff Alumni
  • 3,106 posts
  • LocationNorway

Posted 03 March 2013 - 11:43 AM

So you got it to work..?
Keeping it simple.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com