How do you Duplicate a Page in WordPress

Why Duplicate a Page or Post in WordPress?

duplicate a page in WordPress

If you are a content writer, there could be a few reasons why you would want to duplicate a page or post in WordPress. You may want to edit the Page without changing the present one immediately, using an older article in a new blog with a few changes, or maybe needing dummy content in a new website and want a quick way to fill up a dummy post. Whatever the reason, quite often, there comes a need to duplicate a WordPress Page or Post. However, in WordPress, copying a page is not as simple as copying (Ctrl-C) and pasting (Ctrl-V) to a new page, as there are images, program codes etc., behind what you see.

In this guide, we will show you four different WordPress Plugins you can use to duplicate a page in WordPress. Lastly, and towards the end, we will show you the complete manual way to clone a WordPress Page or Post.

How to Duplicate a WordPress Page or Post  

  1. Using a WordPress Plugin called ‘Duplicate Post Plugin.’

Install and activate a plugin called Duplicate Post Plugin.’ A new link is created in the Post tab, as shown below in the image.

Click on the ‘Clone’ link, this will create a duplicate post in the same post editor, but it will not open the duplicate copied Page. You must go to the newly opened WordPress copy and click on the edit tab to open this copy.

Clicking on the ‘New Draft” link will immediately duplicate the WordPress page open the same in the post editor.

The same approach is to be followed for duplicating any WordPress Pages.

  • Using a WordPress Plugin called Duplicate Page and Post Plugin

Duplicate Page and Post Plugin is a lightweight, fast, and straightforward Plugin. The process is similar as mentioned above.

  1. Install and activate
  2. Select your Page or Post by Go to Posts>All or Pages>
  3. Click on the Duplicate Tab.
  • Using a WordPress Plugin called ‘Duplicate Page Plugin.’

This Plugin is also lightweight, fast, and one-click – easy to use Plugin. The installation procedure is as similar as mentioned above, and so is the method of duplicating the WordPress Page.

  • Using a WordPress Plugin called ‘Post Duplicator Plugin.’

This Plugin creates an exact copy of the selected post and can quickly duplicate any post. It is easy to use and handle. After installation of the Plugin (the installation process is very to the plugins mentioned above and can be installed without any difficulty)

How to duplicate a page in WordPress without a plugin?

  • Duplicating a Page in WordPress using function.php file

You may not have a plugin, or maybe you wish to reproduce the WordPress page manually. This can be done by copying the relevant codes and pasting them in the replicated copy or editing the functions.php file.

To duplicate the post, open the function.php file for editing, using the Secure File Transfer Protocol (FTP), and add the code snippet at the end of the file. Click this Code Snippet Link to access the code

How to Duplicate the WordPress Page or Post Manually?

If you are not feeling confident using the functions.php file, you can use the usual copy and paste method.

  1. Open the page you want to duplicate
  2. Go to the Tools & Options Tab
  3. Go to the Code Editor
  4. Copy the code for the Page
  5. Click on New Page
  6. In the New Page, click on the Code Editor
  7. Paste the Code
  8. Click on Tools & Options Menu
  9. Select Visual Editor
  10. The Old Page gets duplicated

Each WordPress Page must be duplicated as listed above, and it is time-consuming, with a high chance of errors. That is why using a plugin like ‘Duplicate Post Plugin’ is a fast and easy way to duplicate WordPress pages or posts.

How to Duplicate a WordPress Website?

The question here is, why would you want to duplicate a whole website. I will give a few reasons why you might need to clone your website.

  • Moving to a new server: You may need to change your server or host to a new one, and hence you would like your whole site transferred without any change and any delay.
  • Changing your Domain Name: Due to business rebranding, you may need to change the website domain without changing the website contents.
  • Creating dummy websites for testing: Dummy or Testing Websites are necessary when you want to check out some change in codes or themes without disturbing the live website.
  • Website Design Freelance Services: If you are a website design freelancer and some customers want the same website that he has seen in your portfolio.

Before Duplicating or Cloning a WordPress Website, you should back up the site thoroughly if you want to restore it without any problems. It is an excellent practice to have at least two backups on separate devices.

There are several plugins, both free and paid, that you can use. I will list out a few, giving a short synopsis on each. Click on the hyperlink for complete details.

  1. Duplicator – WordPress Migration Plugin

Duplicator is one of the popular WordPress plugins for moving and cloning small websites. The Free Version of Duplicator supports only up to 500MB backups in size. The paid version starts at $60

  1. UpdraftPlus has captured nearly 50% of the market in this requirement and is now one of the most popular WordPress backup tools available, and it is easy to see why. The free version offers a host of features that other backup solutions charge for, and the paid version is about $30 – plus
  • All-in-One WP Migration (FREE) This WordPress Plugin is quite thorough and will export your whole website, database, themes, plugins and media files, all with just a drag and drop, and it’s also mobile device compatible.
  • BackupBuddy is a premium ($80 plus) backup WordPress tool. Click the link for complete details.

Most of what the XCloner can do is shown clearly in the image above, AND it is a free WordPress Backup, Restore and Migrate Plugin.

How to duplicate a WordPress theme?

You often need to copy a WordPress Theme, but you do not have access to the site’s root directory. Some clients would not like to give you access to their web servers and, therefore, will not have FTP access.

The WP File Manager has good features to duplicate your WordPress Theme. It allows you to download, upload, delete, edit, zip, copy and paste files and folders directly from the WordPress backend through the dashboard.

First, install and activate WP File Manager.

  1. Click on the WP File Manager tool to bring it up.
  2. WP File Manager will now connect to your WordPress Website.
  3. Double-click the wp-content folder
  4. Double-click the themes folder.
  5. Select the Theme you want to clone/duplicate. Make sure you are choosing the correct Theme.
  6. Click the Duplicate button.
  7. WP File Manager will immediately create a complete copy of the folder and files.
  8. WP File Manager adds a “copy…” extension so you will be able to identify your duplicate copy of the Theme. In this way, you will be able to locate your cloned Theme

How to Copy a WordPress Site From One Domain to Another

Initially, when you start your domain and host it, you are new and, you go with the advice of your website designer. Later as your business grows or maybe due to some other issue, you want to change your domain name and perhaps your host provider too. Now we address two scenarios

  • Copy a WordPress Site From One Domain to Another without moving your site.
  • Copy a WordPress Site From One Domain to Another, along with moving your site to a different host provider.
  1. Copy a WordPress Site From One Domain to Another without moving your site.
  2. Firstly you will have to register a new domain name and, if your domain register also provides hosting, then it is simple, as the new domain will automatically point to the site. But if your domain name register and your hosting provider are different, you should see that the domain name points to your site by changing the nameserver. Confirm after a few days by using WhatsMyDNS to verify whether the DNS has propagated over the internet.
  • Change the WordPress settings to adapt to the new domain name by going to the WordPress Dashboard > Settings > General > WordPress Address (Tab) and make sure it is your new domain name and not the old one. Scroll down and save the changes you have made by clicking on the save changes button.
  • Configure the links and database to direct to the new domain name. If this redirection between the domain name and host is not proper, anyone using the old domain link will find themselves on the 404 error page.

Install redirection plugins like Redirection or Advanced WP Redirect plugin and create the relevant paths from post or pages from the old domain name to the new one.

b)   Copy a WordPress Site From One Domain to Another, along with moving your site to a different host provider.

When moving to a new domain and host provider, the most significant risk is data loss and downtime, resulting in a loss in search engine rankings and a drop in business.

Follow the Step by Step process shown below, and you will not have a problem:-

  1. Decide on a new WordPress Host so that you do not have to move again soon
  2. Setup and activate the Duplicator free plugin on the website. Click on the Duplicator hyperlink to get complete instructions on how to use the Plugin
  3. Upload your website to the new hosting site using FTP. Do not forget to upload the archive zip file and installer.php file to your site’s root directory
  4. Create the MySQL database on the New Host. Go to your new account cPanel > Dashboard > Database Section > MySQL Database icon.
  • Start the Duplicator Migration Process. Click on the link to see the complete migration process. After completing the migration process, log into your WordPress site on the new host and ensure that everything is working well.

Leave a Comment

Your email address will not be published. Required fields are marked *