How to Duplicate A Page in WordPress? (Step By Step)

Creating WordPress duplicate page is quite different from the conventional method of copying and pasting content. There are a lot more things you need to take care of while creating a WordPress duplicate page, that you will be going to see in this detailed post.

Creating duplicate pages in WordPress can save a lot of your time and effort in redesigning the website as well as making some changes in the content or using the same layout to duplicate different pages of your website. Whatever the reason is, there are multiple ways through which you can easily duplicate WordPress pages for your website.

In this tutorial, we will let you know How to duplicate a page in WordPress with the different options available i.e. without or without the use of plugins, and also without affecting your website metrics.

What is the Meaning of WordPress Duplicate Pages And Why do You Need to have Them?

WordPress’s duplicate page is exactly what its name seems. It is a copy or replica of the original page, which you can either edit or update without affecting the original one.

When you consider creating a WordPress duplicate page of your website, there are mainly two motives behind this that makes more sense than creating a completely new page for your website.

Updating the Content

If the layout of the page remains the same and all you need to update the content, creating a WordPress duplicate page is a way more worthy option than creating a completely new page. It just not reduces the effort to duplicate a page but also saves a lot of time and other resources.

Let us understand it with an example, suppose you have to create a landing page for your website, but it should maintain the same layout and must have the same content as the homepage. In this case, creating a replica or duplicate page of your homepage and making some changes to it, makes more sense rather than creating a completely new page.

This way you can save your precious time as well as reduce extensive efforts.

For Staging or Experimenting Purpose

If you are not satisfied with the design of the current page and you want to make edits or certain changes to it. In this case, you would be unsure what the final page would look like, and at the same time, you do not want to lose the structure of your current version.

Especially, if you compare both the designs and decided the older one is way better, the duplicate pages will let you do a lot of experiments and you can play with all the creativity and options available without risking the design of the original page. You can also delete the duplicate page without fearing losing the original page content.

Now let us see how you can duplicate a WordPress page with or without plugins.

How to Duplicate a WordPress Page With Plugins?

WordPress is best known for its high customizability and flexibility. There is always a WordPress Plugin available for almost anything on WordPress. Similarly, if you wish to duplicate a page on WordPress, you can use the help plugins available on the WordPress repository as well as third-party plugin directories.

Since the majority of WordPress users are beginners and do not like to buy premium plugins, for them we have listed some of the best free WordPress duplicate page plugins you can try.

Yoast Duplicate Post

Yoast WordPress duplicate post plugin

One of the most accessible and most user-friendly plugins that help you to duplicate pages in just simple steps. All you need to do is to first install the Yoast Duplicate post WordPress plugin from the WordPress repository.

Go to your WordPress dashboard > Plugins > Add new and search for “Yoast Duplicate Post“. Once you find the plugin click on the install button followed by clicking on activate and you are done.

Installing the Yoast Duplicate Post plugin

After successfully installing and activating the plugin, go to your posts section and click on All posts as shown in the picture below. You will find two links clone and the New Draft option just beneath the title of the post.

Creating WordPress Duplicate posts

Now when you click on the Clone link, it will duplicate a copy of the post and you won’t be able to open it in the post editor. However, if you chose to click on the New Draft link, it will have a WordPress duplicate post right away and you will be able to open the duplicate version in the post editor.

Similarly, you will also find the same links below the title of the page as shown in the picture below:

Creating WordPress duplicate pages

How to Duplicate a Page in WordPress without Plugins?

In case, if you do not wish to use any WordPress plugin to duplicate pages, the best alternate option is to go by manual methods. In this method, you can either add some codes to the function.php file or manually copy and paste the code of the page.

Now let us see how you can proceed.

How to duplicate A WordPress page or post by function.php File?

The first manual method you can try to duplicate a page or post in WordPress is editing your function.php file. But before handling or making any changes in your WordPress files, make sure you have created a complete backup of your website first.

Now to access your function.php file, you can use FTP (file transfer protocol) client such as FileZilla or through cPanel (if provided). Once you can get access through all the files, go to your function.php file and open it in the editor. Now, all you need to do is to add the given code below in the file save it and upload it again.

Now the above snippet will only let you duplicate WordPress posts. But for replicating WordPress pages, you have to replace the last line of the above code with the snippet given below:

When you are successfully able to add the given snippet to the function.php file, your posts and pages menu will have a Duplicate button option.

How to Manually Duplicate WordPress Pages?

If you do not want to make any changes or edit your config.php file, the best thing you can do alternatively is to copy and paste the code of the page or post you want to replicate. To do this, all you need to do is

Step1: Open the page or post you want to duplicate (in the block editor).

Step2: Click on the three dots located at the top right corner of the page as shown in the picture below.

Screenshot 14 How to Duplicate A Page in Wordpress? (Step By Step)

Step3: Click on the Code editor and copy all the code for the page or post.

Step4: Now, click on Add new page or post.

Step5: Open the new page or post in the block editor and similarly click on the code editor, just like you did in step 2, and paste the code that you have copied.

Step6: Now you can turn into a visual editor and you will find the post or page has been successfully cloned.

Although, this method would seem to be time taking, and for each post or page you have to manually copy and paste the codes. Hence, we highly recommend you take the help of WordPress duplicate page plugins that can do the same job in just a few seconds.

Now you have learned different methods to duplicate posts and pages, what about removing or deleting them? Let us find out.

How to Delete or Remove WordPress Duplicate Pages or Posts?

After successfully creating duplicate pages and posts, if you are looking to delete or remove them, the whole process is quite easy and simple.

First, you need to go to your pages or posts from the WordPress dashboard and select the duplicate pages or posts.

You will find multiple links or options such as “Edit“, “Quick Edit” and “Trash“. To delete or remove a duplicate page or post you have to click on the Trash link. But, your duplicate post/page has not been permanently removed. It has been moved to the Trash bin where you can still access the page or post.

Delete or remove WordPress duplicate page or post

To remove or delete it permanently from your WordPress, you need to navigate through the trash folder and select the “Delete permanently” option from the drop-down many of Bulk actions and check the relevant pages or posts you want to delete as shown below:

Delete permanently WordPress duplicate page or post

Click on the Apply button and you are done. You have successfully been able to delete a WordPress duplicate page or post from your website. Even though, if you have accidentally deleted the clone or duplicate copy of a page or post, you can still make a new one anytime.

Summary

From the above post, you must have noticed that using a WordPress duplicate page plugin is way easier to use and quicker method than the manual. You do not have to take the risk of editing PHP files and it does not take that much effort and time.

However, for single pages or posts the manual method can be a great option but for multiple pages or posts using a plugin would be a great option. You can use either plugin that we have mentioned in this post or you can choose any other from plenty of other options available offering various features and functionalities.

If you choose to go this way, you will surely save a lot of time and effort as well as reduce the risk of any error while doing it manually.

In case you know of any other method which seems more economical and better than what we have mentioned in this post, please do let us know in the comment section below.

Frequently Asked Questions

Can you duplicate the page in WordPress?

Yes, you can easily duplicate pages or posts in WordPress with the help of WordPress duplicate page plugins. However, you can also do it manually by editing your function.php file.

How do I duplicate a page in WordPress without plugins?

You can duplicate pages in WordPress without plugins by the following two methods:
1. By editing your function.php file
2. By copying and pasting the code of the page or the post you want to duplicate or make a clone of.

Is cloning a website illegal?

Cloning a website is completely illegal as long as you do not have the author’s permission or Copyright of the main site.

Leave a Reply

Your email address will not be published.