Creating duplicate Wordpress site for development reasons

How can I create a duplicate site in Wordpress running under a subdomain for development reasons, in plesk panel? Do I have to do anything for search engines to crawl of the second site?

Thank you in advance

Topic development-strategy Wordpress

Category Web


Three steps:

  1. Create subdomain
  2. Copy files - Update wp-config.php
  3. Copy DB. Edit site_url and home fields in wp_options.

You should definitely add a no crawl in robots.txt Here is another SO question that describes how to do that.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.