Jump to content

Recommended Posts

Posted

Evening,

 

I have our school website running the latest Wordpress. It's going well, running on @EduTech servers. But I'm always looking for a better template. So I'm wondering if I can have two installations of Wordpress, but using the content from the main database (if that makes sense) - so the dev website uses the main template data?

 

Is it just a case of referencing the mysql server and the database name?

 

Cheers all,

 

Gareth

Posted

To be honest I'd make a copy of the db and use that to dev on because if a template does make sql changes you run the risk of screwing your original site.

 

Ben

Posted

You could also use a different table prefix when you set up another instance of Wordpress.

 

However it's recommended to just make a backup and test it in a local environment; set up XAMPP on a machine and that'll get you going.

Posted
Is it just a case of referencing the mysql server and the database name?

I think there are some dependencies between the template and the database (the current template selection is stored in the db) and there are also dependencies between the location and the database. So no, you will need a separate set of tables to support a development copy and if you start from a straight copy you will need to make changes to the db to get it to work properly.

  • 1 month later...
Posted
When installing select different tables of one database and also make sure that the set in different directories. And of course, make a backup of the site.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...