Copying same WP Interface

Hi, I am trying to copy website with the same wordpress interface. I have the FTP files, the config file
and the database sql file and I want to establish that in my local host. So I created the same database
in my local host php myadmin and imported the sql file there and created a config file, however
the database sql file seems to be pointing to the live site wp-admin login and not my local host.

So how can establish a copy of wp interface to my local host?

There are two entries in the options table in the database that you need to update to point the copy to the localhost instead of the live site.

  • siteurl
  • home
1 Like

in the local host php myadmin? or the live site php myadmin?

yes - the live one already points to itself with those entries

ok what should the local host [quote=“felgall, post:2, topic:221949”]
siteurl
home
[/quote]

say? like how should I write it?

I dont see the home option here

http://localhost

ok. where would the home entry be?

normally the same as the siteurl

only if you have a redirect in place is it ever different and that shouldn’t be the case for your local copy

1 Like

im getting a page not found in url

Did you include the folder where WordPress is installed after localhost in the siteurl and home entries?

you mean I should say: http://localhost/wordpress/ instead of http://localhost ?

if that’s where you put the wordpress code then yes

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.