Automatically clone wordpress site to subdirectory

I have done this exact thing so that I can test plugin updates. I wrote a shell script (bash) to create the sub directory and copy the files. Then, I leveraged WP-CLI commands to create wp-config file, export/import the database and search and replace the site name in DB. Here is my script with specifics … Read more

header_image not working after site copy

It is not recommended to make a simple search&replace in the dump file when moving to another host, because of the presence of serialized data in some database fields (usually options fields of core and plugins). I would recommend to use one of the following migration plugins/scripts to handle the data conversion when moving WordPress: … Read more

WordPress as a Groupon clone [closed]

You can build a clone of just about any website using WordPress. The question, though, is how much work are you willing to put into it? Since you’re already asking for tips/tricks and plug-ins, I’m guessing you want to make a quick clone that requires little to no additional development time. That said, here are … Read more

Clone single site into a multisite setup

Yes, you can do this easily. Just install multisite and import on main site. Process: You have running mydomain.com. Now keep backup this website. Now, 1. install website on multi-site 2. Import complete webiste on main domain mydomain.com 3. Set permalink as per your requirement on main site. 4. Add another site from network. Export … Read more

Two (or more) looks, with one set of content

I’ve done something pretty simmilar once where I had 2 websites that shared most of their content and had differing color schemes. Here’s how I would approach this challenge Use Multisite and child themes in the following way: Website 1: This holds the content and acts as the main theme (e.g. Red). This is just … Read more