WordPress Tutorial

How to Duplicate WordPress Page or Post

How to Duplicate WordPress Page or Post

Have you ever faced a situation when you want to refresh your current page with a new design, but want to keep the content intact for future use? Surely, you can use copy/paste and save all the content in a draft, but this would not move the SEO optimization, page templates, featured images and other associated data.

There also are events when you want to clone your existing blog/page just to do a few tweaks in one of the copies and compare it with the former version. Well, there could be endless circumstances when you just need to duplicate a page or a post in WordPress!

It is useless to invest your time twice when you can actually save it by simply duplicating a desired page or post in WordPress with a single click. In this tutorial, we will learn how to duplicate a page in WordPress with the help of plugins as that’s the easiest and simplest way to do it.

Let’s get started.

What you’ll need

Before you begin this guide, you’ll need the following:

  • Access to WordPress Admin Panel

Option 1 – Duplicating Page/Post With Duplicate Post Plugin

Duplicate Post plugin is one of the easiest ways through which you can clone your page or post in WordPress. Not only does it allow you to create a clone, but you can choose to add your own customization options. You can have a pre-defined suffix or prefix which can be added before or after the title of the cloned page or post. Further, you can also restrict the functionality of the plugin based on the user roles.

In order to clone your post/page by using this plugin, follow the below-mentioned steps:

  1. Install and activate the plugin.
    WordPress Duplicate Post Plugin
  2. Next, click on Pages -> All Pages.
  3. Now hover the page or post you want to clone, and you will see two new options there – Clone and New Draft.
    WordPress Clone Page and Create New Draft Options

    • You can click on Clone in order to create a cloned version of the selected post.
    • You can click on New Draft in order to create a cloned version of the selected post and to further open it in the post editor. You can then start the editing and choose to either save it as a draft or publish it.

Option 2 – Cloning Page/Post With Duplicate Page and Post Plugin

Duplicate Page and Post is yet another plugin which can be used to clone pages and posts quickly. The plugin helps you create a duplicate of a page or post while making sure that all the content, title and styling of the page or post is retained as it is.

Using this plugin is fairly easy. You just need to follow these steps:

  1. Install and activate the Duplicate Page and Post plugin.
    WordPress Duplicate Page and Post Plugin
  2. Next, go to Pages -> All Pages if you want to create a cloned copy of a page, or Posts -> All Posts if you want to create a cloned copy of your post.
  3. Hover over the post you want to clone and click on Clone Me.
    WordPress Clone Post
  4. You will then be redirected to a cloned copy of the post or the page respectively. Edit it, and click on Publish or Save Draft.
    WordPress Post Cloned

Option 3 – Using Post Duplicator to Clone WordPress Posts and Pages

If the above two plugins don’t seem to blend well with your requirements, you can choose to go with Post Duplicator. This plugin would allow you to create an exact replica of the selected post while retaining the custom fields and custom taxonomies as well.

All you need to do is:

  1. Install and activate the plugin.
    WordPress Post Duplicator
  2. Hover over the post or the page you want to duplicate and click on Duplicate Post/Duplicate Page in order to create a cloned copy.
    WordPress Duplicate Page
  3. The plugin will instantly duplicate the page or post.
    WordPress Page Duplicated Copy

Option 4 – Duplicating WordPress Page or Post Without Plugins

Note: We strongly recommend to backup your website before editing any WordPress files.

Besides utilizing plugins, you can also code your way into duplicating WordPress pages and posts. If you’re someone who likes programming, this will be right up your alley. Even if you’re not, we have got your covered. Below, you will find the code snipper to enable post duplication in WordPress:

While this snippet only works for duplicating posts, you can switch to duplicating WordPress pages by replacing the last line by this:

All you need to do is paste this code in your functions.php file. To do this, you can either use File Manager, FTP client or inbuilt WordPress file editor:

Add function to Duplicate WordPress Page

Now if you navigate to All Posts or All Pages section, you should see a Duplicate button.

Looking for a better way to host your website?

Transfer your website to the fastest web hosting platform with 24/7 dedicated support.

Button to Duplicate Page or Post

If you press this button, WordPress will create a copy of the page or post and save it as a draft.

Conclusion

We’re sure you must be wondering why you haven’t known about these plugins before. Better later than never! We hope that the above tutorial answered all your questions and now you know how to duplicate a page in WordPress. All the above-mentioned plugins are not only quick but reliable as well. Why invest your time in a task when you can actually get it done with a few clicks?

Got any questions, tips, or tricks to share? Let us know in the comments!

For more latest WordPress guides and tutorials be sure to check the very bottom of our ultimate WordPress tutorial.

5 Comments

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Hmm but anyway you use code, it is same like plugin right?

    I found one got no database settings, seems also fast, can you recommend??
    https://wordpress.org/plugins/duplicate-post-littlebizzy/

  • Hi, good good tutorial.
    Is possibile create duplicated post into other database? I have two wordpress, with two different database . Fist wordpress is for staging, second is for production. This solution is very useful to create a new post in staging and create it in production env.
    Thanks.

  • Works fine but only for post or page, i have done a simple plugin to create custom post…where ve i to change? Thx

  • Good tutorial for copy page because sometime it need to clone same layout from one page to another and it will very helpful for it and also able to copy page layout via making it duplicate thanks for informative article

More in WordPress Tutorial
How to Create WordPress Sitemap

Close