0

I have a WordPress site at http://example.com and I want to create a clone development site at http://example.com/test. I want http://example.com/test to be its own root URL as well as the live one using the same database for both. How would I go about doing this?

Daniel

  • I would recommend using a subdomain instead. For example dev.example.com. You could share the database and user, but I doubt you could share the same database tables. – gdaniel Oct 14 '13 at 22:07
0

if your using the same database you just copy the entire site over .. if you want to use the same database with its own tables for storage, delete the wp-config file and as your setting up the 2nd Wordpress site just select a different table pre-curser .. the first would be wp_ .. the second may be wp2_ and so on .. with the same database details (name user pass) once you have the site installed you can export the data from one and import it into the other using the Wordpress tools export and import.

it sounds harder than it is

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.