Wordpress plugin duplicator tutorial

July 7, 2014 2.7k views

Hi! I have been trying to duplicate my Wordpress of a shared hosting to Digitalocean with no luck. Also I tried to replicate some tutorial but always I have a blank page. I have seen that a lot of people happened the same. It's a shame because I want to be with Digitalocean but, if i can't get to work I'll be forced to look for something else. So, please, anybody could help us to get this work? Thank you very much.

Pd: I'm not noob but also not a master.

  • What's in Apache's error log file?

    sudo tail /var/log/apache2/error.log
  • @kamaln7 Same issue. Duplicator results in blank page on DigitalOcean. No php errors (even when using ini_set to escalate debugging) and no apache errors. Just confusion.

    sudo tail /var/log/apache2/error.log yeilds nothing of relevance.

3 Answers

Hello, here is how I got Duplicator to work on DigitalOcean.

1) Go to Duplicator Settings, and check: Disable .htaccess File In Storage Directory

2) In /etc/apache2/apache2.conf, look for this part:

<DirectoryMatch ^.*/wp-snapshots/>
  AllowOverride None
  php_flag engine off
  php_admin_value engine Off

..and comment out these two lines:

# php_flag engine off
# php_admin_value engine Off

3) Restart Apache: sudo /etc/init.d/apache2 restart

It makes sense that PHP was turned off specifically for the wp-snapshots directory, since there are installer files in there that you wouldn't want just anyone to execute. However, Duplicator needs it for generating a download link for the installer. So, I'm still a bit concerned if there's a way to make this more secure - maybe with user permissions.

  • Thanks for this. I just had to complete step 1 of your instructions as my apache2.conf file did not contain the snapshot code.


Like Kamal commented, looking at the error logs is the first step towards getting to the bottom of your problem.

If the Duplicator plugin isn't working out, you might want to check out this tutorial on migrating a Wordpress installation from shared hosting.

by Ramesh Jha
If you read through this article you'll have the knowledge to migrate your WordPress site from Shared Hosting to a Cloud Server with zero downtime.

In my case I migrated using the same plugin and see how this (content in blank) correct is http://www.estranhos.info If anybody can help, I appreciate it. Thanks.

Have another answer? Share your knowledge.