I spent some time working out the quickest and easiest way to get my local WordPress installations to my live site. I tried using the much raved about premium plugin BackUpBuddy, but no joy. I just couldn’t get it to work.
I tried a few other more manual methods, but eventually found the free plugin Duplicator and haven’t looked back. I can now get a site from my local server to a live site in under 1o mins. Here’s how:
- Install Duplicator plugin.
- Click on Manage, which will take you to the Duplicator dashboard.
- Click the create button, then click create package set.
- Download the installer and the package.
- Upload both items to your site directory.
- Type the path of the installer.php in your browser, e.g. demo.yoursitename/installer.php
- If you’ve done everything right so far, you should see the following screen:
- User is your database username. If you haven’t created a new MySQL database and user do that now. If you don’t know how to do this, see the bonus tutorial below!
- Password is your database password.
- Database name is your database name!
- Click test connection to check your parameters are correct.
- Tick to confirm you’ve read all warnings & notices.
- Click run deployment.
- Click update tables.
- Click test entire site. Your site should open in a new window. From local to live in 15 short steps – not too shabby!
- But we’re not quite yet. Click resave permalinks. Click save changes on the permalinks settings page. This reflushes.
- Click delete installer files.
Bonus: how to create a new database and user with cPanel
- Under Databases click MySQL databases.
- Type in a name for your database and click create new database.
- Scroll down the page a bit and type in a name and password for your new user.
- Scroll down right down to the bottom.
- Add your new user to your new database using the drop down menus.
- Check all privileges and click make changes.