Jump to content

Recommended Posts

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

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.