how to clone a Word-Press site

Trying to determine the effort to clone a WordPress blog, so it would be a new URL but the look and feel of the blog would be the same. The point is to quickly get up another site that's similar to the first with minimal effort.

Say this site for example: http://smallfoodbiz.com/2012/01/02/3-key-steps-to-setting-successful-business-goals/

what would it take to clone it to another URL ? big effort or minimal effort (assuming one knew how to build this site and had access to the code) ?



LVL 1
Alaska CowboyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason C. LevineDon't talk to me.Commented:
To clone a Wordpress site you would need:

- Access/ability to obtain to the theme the current site is using
- Access/ability to obtain to the plugins (if any) the current site is using
- Access/ability to obtain the content from the current site.

Basically, you install WordPress on the new hosting, add the same theme and plugins and get the content (changing the URL in the process).  The exact method for all of that varies depending on what level of control you have over the old site.

Alaska CowboyAuthor Commented:
jason, thanks.

assume we have full access, i.e., we built the original site and have complete access to all components, e.g., we have "Political Happenings in Pennsylvania", and now want to create "Political Happenings in Philadelphia".

and a rough estimate to clone it and bring up the site "as is" (I realize there would be some set up). Having built a few basic straight HTML websites, I know that I can clone that simply by copying the files.

And suppose it wasn't actually a new URL, but simply add an extension, e.g. www.wordpress.com/political_in_pa/phila
Jason C. LevineDon't talk to me.Commented:
>> we have "Political Happenings in Pennsylvania", and now want to create "Political Happenings in
>> Philadelphia".

Okay, that make it easier.  

>> and a rough estimate to clone it and bring up the site "as is"

As above, mostly.

1) Install Wordpress in the new location, set the new URL and site name
2) Install the same theme and plugins
3) Use Tools | Export on the Penn site to get the content as an XML file
4) Import the XML using Tools | Import on the Phila site to get all of the same content and media.

>> Having built a few basic straight HTML websites, I know that I can clone that simply by copying the
>> files.

It's a little trickier with any database-driven site since you also need to copy the database stuff.  Merely copying the files from location A to location B clones the site but both sites would continue to point to the same database.

>> And suppose it wasn't actually a new URL, but simply add an extension, e.g.
>> www.wordpress.com/political_in_pa/phila

Basically the same thing but in this scenario you have to do some advance planning.  If all you want is a site within a site, then the previous instructions apply, you just install WordPress as a subdirectory of the other WordPress site.

However, if this is the first step of having a bunch of subsites (e.g. Political Happenings in "Name your PA City") then you probably should look into running WordPress in network (multisite) mode.  Doing that gives you the ability to have a master, top-level site and easily and instantly deploy new sites underneath it.  These new sites are completely independent WordPress instances but subject to control by a Super Admin and you can easily create a deployment "template" with approved themes and content via the use of plugins designed specifically for multisite.
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Alaska CowboyAuthor Commented:
great stuff, thanks. it's not really Pennsylvania . . . :-)

>>It's a little trickier with any database-driven site since you also need to copy the database stuff
- ok, makes sense

I'd like to come away from this question with a rough estimate, so using a real website as an example (michellemalkin.com), say you were the tech guy managing this site and wanted to create a new site, "michellemalkin.com/presidential_election_2012" (new d.b. and all), what might you think it would take to bring up the new site ? 1 day ? 1 week ?
Jason C. LevineDon't talk to me.Commented:
If I have access to the desired theme, plugins and content I can have the site "cloned" in a couple of hours, max.

Changing the CSS and graphics to really personalize it is a whole other thing and that depends on how extensive the changes need to be.  But you have experience with that so you don't need me to faux estimate it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alaska CowboyAuthor Commented:
Right, just what I was looking for, thanks a lot.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.