Scroll To Top

How to Duplicate Page in WordPress?

Posted in WordPress3 months ago • Written by Hujjat Nazari4 Comments

If you have ever faced a situation where you want to duplicate WordPress page or post with all the structure, SEO, and design, you can do that easily. In this article, you will learn the best way to duplicate WordPress page or post with and without a plugin.

How to Duplicate page in WordPress with Plugin

let’s imagine that you are not a developer. You can use the following plugins to duplicate page in WordPress quickly.

There are many plugins out there that let you duplicate post and pages. We recommend the most updated and applicable with the latest version of WordPress.

How to duplicate WordPress page or post with plugin

How to duplicate WordPress page or post with plugin

Duplicate Post 

WordPress Duplicate Post By Enrico Battocchi is the most recommended plugin on WordPress plugin directory. Once you install and activate this plugin, you can go to any post type like pages or posts. You will see two extra options for your posts.

How it works:

  1. In ‘Edit Posts’/’Edit Pages,’ you can click on ‘Clone’ link below the post/page title: this will immediately create a copy and return to the list.
  2. NEW! In ‘Edit Posts’/’Edit Pages,’ you can select one or more items, then choose ‘Clone’ in the ‘Bulk Actions’ drop-down to copy them all at once.
  3. In ‘Edit Posts’/’Edit Pages,’ you can click on ‘New Draft’ link below the post/page title.
  4. On the post edit screen, you can click on ‘Copy to a new draft’ above “Cancel”/”Move to trash.”
  5. While viewing a post as a logged in user, you can click on ‘Copy to a new draft’ as a drop down link under “Edit Post” in the admin bar.
How to duplicate page in WordPress using duplicate WordPress page?

How to duplicate page in WordPress using duplicate WordPress page?

Clone: It will duplicate a post and save as new post-draft.

New Draft: It will duplicate the post and let you start editing and change the content.

Duplicate WordPress Page and Post without Plugin

If you are a developer and don’t want to use any plugin, you can do that with a few lines of code. Of course using the plugin is easy, but there are some advantages and disadvantages to using a plugin or not. We will discuss that later.

As a WordPress admin, you access to WordPress code editor. You can find it under Appearance > Editor. Once you are on the editor page, open the theme functions page from the right sidebar.

WordPress theme functions editor page

WordPress theme functions editor page

Note: Please make sure you have a backup of this file before editing. 

Past the following code at the end of functions.php file.

WordPress Post and page duplicator code.

Now you have the duplicate option for post and pages.

Use plugins or Code?

If you want to know which one is better, here are some suggestions that weather using code is better or using a plugin.

Using too many plugins in your site slow down your site speed. Especially when your plugin interacts with layouts of your page. For this types of plugin, it doesn’t matter. Since it’s a small feature, you don’t need to use any plugin. Just use the code. Of course, you can choose whatever suits you the best.

If you have any question about how to duplicate page in WordPress, feel free to comment it below. 🙂

 


TAGS: , , , , ,

4 Comments so far. Feel free to join this conversation.

  1. MajitOctober 25, 2017 at 2:09 am - Reply

    Hello Hujj, is code same as new plugin without database settings, or different performance?? https://wordpress.org/plugins/duplicate-post-littlebizzy/

  2. Hujjat NazariOctober 25, 2017 at 9:52 am - Reply

    Hi,
    The code is not the same, but it does the same actions. maybe the plugin has some more features.

  3. DennisNovember 13, 2017 at 2:30 pm - Reply

    Awesome tutorial, thank you so much!

Leave A Response