Question

Wordpress plugin duplicator tutorial

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.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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
</DirectoryMatch>

…and comment out these two lines:

# php_flag engine off
# php_admin_value engine Off
  1. 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.

Hi!

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.

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