How To Duplicate Page In WordPress? (Best solution)

In your WordPress dashboard, go to Posts All when cloning posts, or Pages All when cloning pages. Navigate to the page or post you want to copy, and click on Clone to duplicate it. Multiple pages or posts can be selected, and you can clone them all at once using Bulk Actions.5

Contents

How do I duplicate a page in WordPress 2021?

Go to your WordPress dashboard. Go to Pages or Posts. Hover over the page or post you want to duplicate. Click on Duplicate.

How do I copy a page in WordPress?

To copy a post or page:

  1. Click on Posts or Pages in your dashboard.
  2. Click the ellipses menu (the three vertical dots) to the right of the post or page you want to copy.
  3. Select Copy.
  4. The WordPress Editor will open immediately, creating a new post with duplicated content.

How do I create a duplicate page?

Copy a page in a multiple-page document

  1. Place your cursor at the beginning of the page you want to copy.
  2. Click and drag the cursor to the bottom of the page you want to copy.
  3. Press Ctrl + C on your keyboard. Tip: Another way to copy your highlighted text is to click Home > Copy.

How do you duplicate a page in WordPress org?

Go Select to Duplicate Page settings Menu from Settings Tab and savings settings. Then Create New Post/Page or Use old. After click on duplicate this link, then duplicate post/ page will be created and saved as draft,publish,pending,private depending upon settings.

How do I Copy a WordPress page without plugins?

How to Duplicate a WordPress Page Without a Plugin

  1. First, you need to go to Pages -> All Pages from the left sidebar and then, open the page you want to clone.
  2. Next, click on the 3 vertical dots icon, present at the top-right corner of your screen.
  3. Now create a new page by clicking on Pages -> Add New.

How do I duplicate a WordPress portfolio?

Here’s how to duplicate a page or post using Post Duplicator plugin:

  1. Install and activate the Post Duplicator plugin.
  2. Access your WordPress admin, and find the post or page you want to duplicate.
  3. Click Duplicate Post or Duplicate Page.

How do I duplicate a page in WordPress Divi?

Manually Clone a Divi Page Create a new page or post and click to use the Divi Builder. You’ll see an option to build from scratch, choose a premade layout, or clone an existing page. Select Clone Existing Page. Choose your page or post from the list.

How do I duplicate a page in avada WordPress?

To do this, look over near the top left of your screen. There should be an option called “Library” – click on that. This will load your pre-built page, which is essentially a copy/duplicate of a page you have previously built. And that’s about it!

How do I copy a WordPress theme?

Using WP File Manager

  1. Click the “WP File Manager” tool from the left panel.
  2. By default, WP File Manager connects to your WordPress installation.
  3. Double-click the “themes” folder.
  4. Select the theme you want to duplicate by clicking it once.
  5. Click the “Duplicate” button.

How do I remove duplicate pages in WordPress?

Go to Plugins > Add New.

  1. Type in the name ”Remove Duplicate Posts” in Search Plugins box.
  2. Find the ”Remove Duplicate Posts” Plugin you wish to install.
  3. Click Install Now to install the WordPress Plugin.
  4. The resulting installation screen will list the installation as successful or note any problems during the install.

How do I create a page template in WordPress?

Go to WordPress Admin Panel > Pages > Add New. You can see the new custom page template listed on the right side. Create a new page and set its template to PageWithoutSidebar. Once done, Publish it.

Can I Copy a page in Elementor?

Note – you can duplicate pages or posts built with Elementor using the plugins that we mentioned above. If you want to duplicate more than just a single page, you can also use Elementor’s website kits feature to export/import complete website designs.

What is considered duplicate content?

Duplicate content generally refers to substantive blocks of content within or across domains that either completely match other content in the same language or are appreciably similar. Mostly, this is not deceptive in origin.

How to Duplicate a WordPress Page or Post with a Single Click

With a recent question, one of our readers inquired whether it was feasible to clone a WordPress page in a single click. It is possible to work on a duplicate post or page without altering the original version by creating a duplicate. You may rapidly clone a WordPress page or post with all of its settings by following the instructions in this article.

Why Clone or Duplicate a Page / Post in WordPress?

When you have been blogging for a long, you may find yourself needing to rapidly copy a post or a page from your blog. You might reuse material from a sales page that already has a lot of content, or you could reuse text from a previous post that can be expanded to make a whole new piece. The contents of the post or page may now be manually copied and pasted into a new draft. This, however, does not duplicate your featured picture, post settings, SEO settings, or any other meta data from your site.

With this strategy, you may simply update a post and get to work on it right away, saving time and effort.

Video Tutorial

Subscribe to WPBeginner’s newsletter. Continue reading if you want to follow written instructions instead.

Duplicate a WordPress Post or Page

Installing and activating theDuplicate Postplugin are the first steps to do. For further information, please refer to our step-by-step instructions on how to install a WordPress plugin (included). Following activation, you must navigate to the Posts » All Postspage. Below each post title, you’ll notice two new buttons that allow you to clone the post or make a new draft. A duplicate post will be created by clicking on the ‘Clone’ button, but it will not be opened in the post editor when the button is clicked.

This will duplicate the post and open the duplicate version in the post editor.

The duplicate post plugin does a fantastic job at preventing duplicate posts.

For more information, please see our article on how to correctly update live published posts in WordPress.

Customizing Duplicate Post Plugin Settings

The duplicate post plugin is ready to use right out of the box and works with both posts and pages by default. Also available for customization are support for custom post kinds, restriction to user roles, and the ability to specify what should be copied when making a duplicate. Let’s take a closer look at all of these options. Make your way over toSettings » Duplicate Postpage to customize the plugin parameters. The settings page is divided into three sections, each of which is labeled. When producing a duplicate, the first tab allows you to select what should be copied.

  • You may, however, choose items that you want to duplicate and uncheck those that you don’t want to be copied if you want to.
  • In its default configuration, the plugin allows users with the administrator and editor privileges to make duplicate posts.
  • If you are utilizing custom post types on your website, then those post kinds will display in this section of the website.
  • Finally, click on the Display tab to specify where you want the clone post links to appear on your website.
  • Don’t forget to click on the Preserve Changes button at the bottom of the page to save your changes.
  • You might also be interested in our comprehensive WordPress SEO guide for beginners, as well as our suggestions on how to make your WordPress site load faster.
  • On top of that, you can follow us on Twitter and Facebook.
  • This means that if you click on one of our affiliate links, we may receive a fee.

See how WPBeginner is supported, why it is important, and how you can help us by donating. The Editorial Staff at WPBeginner is a group of WordPress specialists, lead by Syed Balkhi, who provides guidance and support. Over 1.3 million readers around the world put their trust in us.

How to Duplicate a Page or Post in WordPress

Samantha Rodriguez has posted a new article in WordPress. The most recent update was made on February 2nd, 2022. The act of copying and pasting information from one page or post to another in WordPress might be more complicated than it appears. If you want to save time while revamping your website or upgrading your content, you may also save the page template, SEO data, and graphics. Fortunately, replicating pages and posts in WordPress, as well as all of their related data, is a simple process.

In this article, we’ll look at how to clone a page or post in a secure manner, as well as present several plugins that can assist.

Easily Clone a Page in WordPress with These Plugins

Because everything is completed within your WordPress dashboard, it is incredibly simple to duplicate an existing page when you utilize a plugin. In addition, plugins are the safest method of duplicating a post or page because you will not be directly altering your website’s code. When looking for the proper tool, here are four plugins that are well worth your time to investigate further:

1.Duplicate Post

Duplicate Post is one of the most often used WordPress plugins for page and post replication. This plugin is simple to use, and it copies everything from the content of a page or post to the comments linked with that page or post. It also provides the option of adding a prefix or suffix to distinguish between your original post and the clone. To replicate a post using this tool, you only need to do the following:

  1. Installing and activating the plugin is simple. Select PostsAll when cloning posts, or PagesAll when cloning pages from your WordPress dashboard. Then navigate to the page or post that you wish to replicate and click on the Clone button to make a copy of it. Bulk Actions allow you to choose several pages or posts at the same time and clone them all at the same time.

2.Duplicate Page and Post

Duplicate Page and Post is a lightweight application that lacks in functionality but makes up for it in speed. This lightweight plugin is one of the quickest methods to clone a post or page in WordPress, and it won’t slow down your site with extraneous bells and whistles like other similar tools. Using this plugin, you may clone a page or post by following the steps below:

  1. Installing and activating the plugin is simple. To duplicate a post, navigate to PostsAll or PagesAll, depending on what you wish to replicate. Hover your cursor over the page or post that you wish to copy
  2. Select theDuplicate option from the drop-down menu.

3.Duplicate Page

It is worth noting that Duplicate Pageprovides a few more functions that are not available in some other copying plugins. This plugin will clone all posts, pages, and custom post kinds on your site until you disable it. In addition, you have the option of saving the generated copies as drafts, pending, public, or private documents. To make use of Duplicate Page, you only need to do the following:

  1. Installing and activating the plugin is simple. Configure its parameters to match your specific requirements. Look through all of the pages or all of the posts to discover the material you want to copy
  2. Select theDuplicate This option from the drop-down menu.

4.Post Duplicator

Post Duplicator is yet another straightforward cloning plugin. With this solution, you can produce an exact replica of any post or page on your WordPress site. This solution also works with custom post types, custom fields, and custom taxonomies. It’s quick and simple to use, and it shouldn’t add a lot of weight to your site’s load time. The following are the steps to replicate material with this tool:

  1. Install the plugin and make sure it is activated
  2. Go to PostsAll or PagesAll to locate the information you wish to duplicate
  3. Hover your cursor over the post or page. Then select either theDuplicate Page or theDuplicate Postoptions.

Duplicating a Page in WordPress Without a Plugin

Of course, you are not need to utilize a plugin in order to duplicate a WordPress page or post.

This may also be accomplished manually, either by modifying the functions.php file or by copying and pasting the needed code into the appropriate location. Let’s have a look at how both techniques function.

1. Enable Cloning via funtions.php Code

A manual method of cloning a WordPress page or post is to alter the code in yourfunctions.php file, which can be found here. While this may appear to be a simple task, you should proceed with caution and create a backup of your website first. To enable cloning for posts, you’ll need to gain access to your functions.php file and open it for modification, either using Secure File Transfer Protocol (FTP) or through another mechanism of your choosing. It is therefore necessary to include the following code snippet at the conclusion of your file: /** Post-duplication function to be used.

You might be interested:  How To Create Newsletter In Wordpress? (TOP 5 Tips)

After that, the user is taken to the edit screen.

If you don’t want the current user to be the new post author,* change the next couple of lines to look like this: absint($ GET): absint($ POST);/** and all of the original post data then*/$post = get post($post id);/** if you don’t want the current user to be the new post author,* then change the next couple of lines to look like this: if (isset($post)$post!= null)/** if post data exists, generate the post duplicate*/if (isset($post)$post!= null)/** duplicate all post meta in only two SQL queries*/$post meta infos = $wpdb- get results(“SELECT meta key, meta value FROM $wpdb- postmeta WHERE post id=$post i $sql query.= implode(” UNION ALL “, $sql query sel);$wpdb- query($sql query);$sql query.= implode(” UNION ALL “, $sql query sel);$sql query.= implode(” UNION ALL “, $sql query sel);$sql If $new post id is not equal to $old post id, redirect to the edit post page for the new draft/wp redirect(admin url(‘post.php?action=edit post=’.

$old post id));exit; else add action(‘admin action rd duplicate post as draft’, ‘rd duplicate post as draft’); /** Add the duplicate link to the action list for post row actions*/ function rd duplicate post link($actions, $post) /** Add the duplicate link to the action list for post row actions*/ function rd duplicate post link($actions, $post) /** $actions should be returned; add filter(‘post row actions’, ‘rd duplicate post link’, 10, 2); add filter(‘post row actions’, ‘rd duplicate post link’); To enable cloning for pages as well, use the same code as before, but change the final line with:add filter(‘page row actions’, ‘rd duplicate post link’, 10, 2); to enable cloning for pages as well, use the same code as before.

After that, you may save the file and re-upload it to your server to complete the process again.

When you hover over a page or post that you wish to duplicate, the duplicate button should now show.

2. Manually CopyPaste Code to Duplicate a Page

Instead of editing your functions.php file, you may manually copy and paste the code for the page or post you wish to clone onto a new page or post in your website.

You will need to perform the following in order to do this:

  1. Create a copy of the page or post you wish to replicate. Select theMore ToolsOptionsmenu from the drop-down menu. Choose Code Editor from the drop-down menu. Copy the code for the page or post into your text editor. Select New PostorNew Page from the drop-down menu. Open the Code Editor in the new post or page you’ve created. Copy and paste the code
  2. Select theMore ToolsOptionsmenu from the drop-down menu. Visual Editor should be selected. Ideally, the new page or post should be a carbon copy of the old one

This procedure can take some time, and you’ll have to repeat it for each page or post that you wish to copy and paste into your new document. That’s why, if you’re wanting to replicate a large amount of material, we recommend utilizing a WordPress plugin.

Keep Learning with WP Engine

When you use page cloning, it’s simple to streamline your WordPress experience. Additionally, there are several additional methods for saving time, such as moving pages or posts between WordPress sites or even replicating development environments. With WP Engine, developers who want to create a fantastic digital experience for their clients have access to the greatest tools and resources available. Check out our intentions to get started as soon as possible!

Copy a Post or Page

This article will walk you through the process of replicating a page or post on your website. The following is a table of contents:

Duplicate a Page or Post

To replicate a post or page, copylet allows you to copy everything from the title to the contents to the tags and categories. This allows you to start a new post or page without having to re-enter tags, categories, and formatting. To replicate a post or a page, follow these steps:

  1. Then, from your dashboard, select Posts or Pages. Choose Copy from the drop-down menu (the three vertical dots) to the right of the post or page you’d want to copy, then click Copy. SelectCopy
  2. The WordPress Editor will be launched instantly, and a new post with copied content will be created.

It is possible that your website has a Business or eCommerce plan, in which case you will not see the Copy option. In this case, go toJetpack Settings Writing and enable the “Enable the ability to copy whole posts and pages, including tags and settings.” Using a page builder plugin will prevent you from using this function, however the plugin may have its own option to duplicate pages and articles. Using a page builder plugin will prevent you from using this feature. The following is the table of contents:

Copy All Content

The whole post or page may be copied and pasted into a blank post or page using the Block Editor’s copy/paste functionality.

  • Alternatively, go to My Sites Posts/Pages. Choose the article or page that you want to copy and paste it into your document. To access the ellipses menu in the upper right corner of the editor, click it. Select Copy All Content from the drop-down menu. Create a new post or page, and then right-click and select paste, or press ctrl + v (on a PC) or cmd + v (on a Mac) to paste the content into the post or page

WP Admin Options

The WP Admin interface is referred to throughout these instructions. To see this interface, go to the upper right corner of the screen and selectClassic view from the Screen Optionsstab. When logged into the WordPress administration area, you may duplicate a post. A copy option will appear when you hover over a post item in the list views forposts, pages, testimonies, andportfolios, among other things. When you click “Copy,” a new edit window will open, with the following items already carried over (if they were included in the original post):

  • Title, content, excerpt, featured picture, categories, tags, comment and pingback status, Likes and Sharing status, and custom post type phrases are all important considerations.

It is possible that you do not have access to a certain post if the “Copy” option is not accessible.

Duplicate Page

The plugin is simple and straightforward, and it accomplishes what it claims to be able to achieve. Make a copy of your page or post. Read all 245 customer reviews. “Duplicate Page” is a free and open source piece of software. This plugin has been made possible by the contributions of the persons listed below. Contributors = 4.4.8 = 4.4.8 = 4.4.8 = 4.4.8 = 4.4.8 = 4.4.8 = 4.4.8 (27th Jan, 2022) (= 4.4.8) is a number that represents the number of times a letter appears in a sentence (27th Jan, 2022) = 4.4.6 = 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6= 4.4.6 (7th Dec, 2021) = 4.4.5 = 4.4.5 = 4.4.5 = 4.4.5 = 4.4.5 = 4.4.5 = 4.4.5 (29th Sep, 2021)

  • The issue with the content HTML showing in the sidebar has been resolved.

= 4.4.4 = 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= 4.4.4= (16th Sep, 2021)

  • Sanitization issues have been resolved in accordance with WordPress standards.

= 4.4.3 = 4.4.3 = 4.4.3 = 4.4.3 = 4.4.3 = 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4.4.3= 4. (8th Sep, 2021)

  • Code sanitization method has been improved to ensure safe data submission.

= 4.4.2 = 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4.4.2= 4. (6th Sep, 2021)

4.4.1(27th July, 2021)

  • Compatiblity with WordPress v5.8 has been checked
  • Php warnings have been fixed.

4.4(18th Mar, 2021)

  • Compatibility with the Gutenberg editor and sophisticated custom fields

3.4 (1st Apr, 2019)

  • The issue with the duplicate page appending the original post name has been resolved.

2.3 (27st april, 2017)

  • A new text box has been added to the settings page for duplicate post title suffixes, in order to eliminate the confusion caused by the present duplicate page.

1.4 (18th Jun, 2016)

The 18th of January in the year 2022 Domantas G.Read for 6 minutes One could find themselves in the position of having to replicate a WordPress page or post for a variety of reasons. Do you require duplicate postings in order to carry out content updates? You might also be interested in using a certain layout for a new page on your WordPress website. It doesn’t matter what the purpose is; there are several ways to replicate a post or a page in WordPress. Different techniques to replicate a post or page in WordPress, both with and without the need of a plugin, will be demonstrated in this lesson.

Duplicating Page or Post with WordPress Plugin

You may be considering manually copying and pasting your WordPress postor page in order to create a clone. Furthermore, WordPress now has a ‘copy all content’ option in its block editor, which is convenient. This approach, on the other hand, is not optimal for duplicating pages and posts. You’ll just replicate the text of your content when you manually duplicate a post or a page in WordPress, which is the default setting. Meaning you’ll have to replicate each piece of your page — the template, graphics, and search engine optimization components such as meta descriptions and title tags — on their own.

Duplicating a page or a post can also negatively impact your search engine ranking position.

Thank goodness for post duplication plugins, which allow you to simply duplicate pages or articles without having to worry about making any mistakes.

In addition, we’ll demonstrate how to make use of them:

1.Duplicate Post Plugin

Yoasti’s Duplicate Post plugin is one of the most often used solutions for this reason. Besides duplicating articles or pages, you may also replicate comments, slug, menu order and many other aspects of the site. Additionally, the plugin allows you to add a title prefix or a suffix to each image so that you can tell which one is the original and which one is a duplicate.

Consider the following scenario: you have “Copy of” as the title prefix. What is WordPress will be entitled “Copy of What is WordPress” if you copy and paste the text from a post with the title “What is WordPress.” Simple procedures must be followed in order to replicate material using the plugin:

  1. Installing and activating the plugin is required. Click on Pages-All Pages (if you want to replicate a page) or Post-All post (if you want to duplicate a post) from your WordPress dashboard. When you hover your cursor over the page or post you wish to clone, you will notice two new choices appear: Clone and New Draft. Alternatively, you may chooseNew Draftto create a new post with the copied content and edit it in the post editor.

2.Duplicate Page and Post

Installing and activating the plugin is straightforward. Go to your WordPress dashboard and then click on Pages-All Pages (if you want to replicate a page) or Post-All Posts (if you want to duplicate a post). As soon as you hover your cursor over the page or post you wish to clone, you will notice two new choices appear: Clone and New Draft. Click the Clonelink to replicate the currently chosen post, or chooseNew Draftto create a new post using the cloned content and open it in the post editor.

  1. To duplicate a page or a post in your WordPress dashboard after installing and activating the plugin, navigate to theAll Pages orAll Postsmenu, depending on what you want to duplicate
  2. Drape your cursor over the post or page you wish to duplicate and clickDuplicate
  3. Posts and pages that have been copied will appear as a new draft with the same name as those that have been copied. Open the copy in order to make changes to the content.

3.Post Duplicator

This plugin allows you to build an identical clone of a post or page in WordPress while keeping all of the custom fields and custom taxonomies that were previously associated with the post or page. The following is an example of how to replicate a page or post using the Post Duplicator plugin:

  1. Installing and activating the Post Duplicator plugin is necessary. Make a visit to your WordPress admin and locate the post or page that you want to copy
  2. Duplicate Postor
  3. Duplicate Page
  4. Duplicate Postor

There are certain parameters that may be customized to prevent postings from being duplicated. Select Tools-Post Duplicator from the menu bar and customize the post status (draft, published, or same as the original), post type, and post date to suit your needs. It is also possible to change the title and slug of the duplicated document.

Duplicating WordPress Page or Post Without Plugins

In addition to utilizing plugins, you can also duplicate posts and pages by including code in your theme’s functions.php file. If you want to activate a duplicate link, you may do it with either an FTP client, an HTML editor, or the built-in file editor of WordPress. If you decide to go with the second option, read this post to learn about the best HTML editors for editing source code. If, on the other hand, you wish to utilize the built-in file editor to duplicate posts or pages on your site, go to Appearance in your WordPress dashboard and click on the Duplicate Post or Page button.

To configure the functions.php file, you may utilize Hostinger’s File Manager, which is available for free.

We highly advise you to make a backup of your website before making any changes to any WordPress files.

How to Duplicate a Post via the Functions.php File

Duplicating a post on a WordPress website requires you to include the following code snippet in your functions.php file: /** Post-duplication functionality is provided by this function. Drafts are displayed for duplicates. After that, the user is taken to the edit screen. */ rd duplicate post as draft is a function () if (! (isset($ GET) || isset($ POST)|| (isset($ REQUEST)’rd duplicate post as draft’ = $_REQUEST)) then wp die(‘No post to duplicate has been given!’); if (! (isset($ GET) || isset($ POST)||

The value of ‘post password’ is equal to $post- post password.

$post meta infos is greater than zero, then wpdb- get results(“SELECT meta key $sql query = “INSERT INTO $wpdb- postmeta (post id, meta key, meta value)”; foreach ($post meta infos as $meta info); foreach ($post meta infos as $meta info) $meta key = $meta info- meta key; if ($meta key = ‘_wp old slug’) continue; if ($meta key = ‘_wp old slug’) continue; $meta value = addslashes($meta info- meta value); $meta info = addslashes($meta info- meta value); $sql query sel = “SELECT $new post id, ‘$meta key’, ‘$meta value'”; $sql query sel = “SELECT $new post id, ‘$meta key’, ‘$meta value'”; $sql query.= implode(” UNION ALL “, $sql query sel); $wpdb- query($sql query); $sql query.= implode(” UNION ALL “, $sql query sel); • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • else **Add the duplicate link to the action list for post row actions*/ function rd duplicate post link($actions, $post); wp die(‘Post creation failed, could not identify the original post: ‘.

$post id); wp duplicate post as draft; wp do post as draft(‘admin action rd duplicate duplicate_ If (current user can(‘edit posts’)) is true, then $actions=’ a href=’ a href=’ a href=’ a href=’ a href=’ a href=’ a href=’ a href=’ a href=’ a href=’ a href=’ “If wp nonce url() is called with the argument ‘admin.php?action=rd duplicate post as draft post=’, the result is’wp nonce url() with the argument ‘.

You might be interested:  What Is The Role Of A Wordpress Theme? (Question)

“duplicate nonce”; $post- ID, basename( FILE_), and “duplicate nonce”; The title of this item is “Duplicate this item” and the link to it is “permalink” “”; return $actions; add filter(‘post row actions’, ‘rd duplicate post link’, 10, 2); return $actions; return $actions; return $actions; return $actions; return $actions The following person deserves credit for coming up with this useful code: Misha Rudrastyh is a Russian actress and singer.

How to Duplicate a Page in WordPress via the Functions.php File

This article will walk you through the process of creating a duplicate page in WordPress. To do this, just replace the final line of the code above with the following snippet:add filter(‘page row actions’, ‘rd duplicate post link’, 10, 2); You should be able to see aDuplicatebutton in the All Posts or All Pagesmenu if you have properly inserted the code above.

Conclusion

If you need to replicate a page or a post in WordPress, we hope you find the tutorial and all of the tools we propose in this article to be of assistance. Duplicating a page or a post in WordPress may be quite handy in a variety of situations. Perhaps you’d want to clone your present page for use as a model for future website construction. Alternatively, you may need to replicate an existing post so that it may be used as a template. While you may manually replicate a page or a post with a copy and paste, this can be time-consuming if you deal with a large amount of information.

  • There are three distinct plugins you may use for this purpose: Duplicate Post, Duplicate Page and Post, and Post Duplicator, all of which are free.
  • All you have to do is navigate to the functions.php file in your WordPress installation and paste the code we’ve supplied.
  • Is there anything you’d want to ask, or any tips or methods for replicating a page or post in WordPress?
  • Using innovative ideas and out-of-the-box tactics, Domantas drives the content and search engine optimization teams ahead.
  • Domantas enjoys spending his spare time honing his web development abilities and traveling to interesting locations.

How Do I Duplicate a Page in WordPress?

It is explained in this article how to replicate or clone WordPress pages and posts, both manually and with the assistance of plugins, in this lesson. WordPress provides a number of options for duplicating or cloning pages. The manual technique of duplicating a WordPress page or post consists of copying and pasting the page or post code. Alternatively, you may install a plugin to get the same result. WordPress, like it usually does, provides a variety of plugin choices for this purpose. This lesson demonstrates many straightforward methods that any WordPress level administrator may understand.

Manually Duplicate WordPress Pages or Posts Without Plugins by Copying Code

This section demonstrates how to replicate or clone a WordPress page or post by simply copying and pasting the code from an existing page or post onto a new page or post. Duplicating a page is as simple as selecting it from the Pages part of the left menu, as seen in the picture below, and then clicking the Duplicate button. If you wish to replicate a WordPress post, instead of clicking on Posts, choose the post you want to clone. After you’ve opened the post or page you want to replicate, look for three dots in the top right corner of the screen, as seen in the accompanying image.

To see the page/post code, select Code Editor from the drop-down option that appears.

Once the code has been copied, pick Pages or Posts from the left-hand menu (depending on whether you are cloning a page or a post), and then click theAdd New button.

Afterwards, enter the code that you copied from the source page into the text box and click thePublish button. Your page has now been copied without the use of any plugins.

Clone or Duplicate a WordPress Page or Post Using Plugins

The first example in this article will make use of a plugin named PageandPost Clone, which stands for Page and Post Clone. This plugin, as its name implies, is handy for duplicating both WordPress pages and posts in a single operation. To begin, go into your WordPress dashboard and click Plugins from the left-hand menu. Then pick Add New from the drop-down menu, which has the choices seen in the screenshot of the menu below. Typing Page and Post Clone into the search box on the Plugins addition page will get the desired results.

  • After installing the plugin, you must activate it in order for it to work.
  • If you wish to copy a page from the left-hand menu, select thePagesoption once it has been activated.
  • When you place your mouse pointer over the page you wish to clone, you’ll see the optionClone, as seen in the screenshot below.
  • If you choose, you may modify the title of the page or add new editions.
  • Following the publication of the page, you’ll notice two buttons: View the page and copy the link.
  • After installing the Page and Post Clone plugin, go to the Posts menu on the left side of the screen and select Clone Post.
  • Then click on thePublishbutton, and your original post will be replicated.
  • The buttons View Post and Copy Link will appear after cloning or publishing your post; click on them to see your replicated post.

Other Plugin Alternatives to Duplicate WordPress Pages

As previously said, WordPress provides a large number of plugins for duplicating pages and posts. This lesson only addressed one of the plugins discussed in this article. Alternatives include the following plugins, which you may find on the list below:

  • WP Post Page Clone: This plugin also enables for the cloning of a post or page, which includes both the content and the settings of the original. You may install this plugin directly from WordPress, or you can download it and obtain more information from the following website: Create a duplicate of a page or post: This plugin allows you to duplicate pages or posts, as well as add a post suffix and apply editions to duplicated pages and posts. For further information on this option, please see: WP Page Post Widget Clone: This plugin also enables for the duplication or cloning of content and settings for pages, posts, and sidebars. More information may be found on the plugin’s main page. Copy page: This plugin to clone pages also allows you to define the prefix and suffix of the pages that are copied. It enables for the filtering of duplicate page links as well as the accessing of the plugin by different user roles. If you want to understand more about the plugin, you may go to the following page:

It is possible to copy or clone page/post content and settings by utilizing any of the options listed above.

Conclusion

As you can see, creating duplicate pages in WordPress is a simple process. Users can complete this process by hand, by copying and pasting the code, or with the assistance of a plugin, among other options. Some users are adamant about not using plugins since they have an adverse effect on the performance of the site. Therefore, in contrast to previous tutorials, the manual technique was given precedence in this article. However, this type of plugin does not consume a lot of resources and can be turned off after the page or post has been replicated.

Please accept my sincere thanks for taking the time to study this guide on how to replicate WordPress pages. Stay tuned for more WordPress lessons and advice in the coming weeks!

About the author

David Adams is a System Administrator and writer who specializes in open source technologies, security software, and computer systems. He holds a bachelor’s degree in computer science.

How to Duplicate a Page in WordPress (Beginner’s Guide)

The content on Themeisle is completely free. When you make a purchase after clicking on one of our referral links, we receive a commission. Read on to find out more Are you looking for a simple solution to replicate a page or post in WordPress? Look no further. It is possible that you will want to replicate a page in WordPress for a variety of reasons. If you’re creating a website, replicating your pages can help you get it up and running more quickly. Alternatively, your existing site may have pages that perform well and might be modified to fulfill a variety of functions.

The most straightforward method of duplicating a post or page is through the use of a simple, free WordPress plugin.

Are you ready to find out how?

How to duplicate a page in WordPress with the Duplicate Post plugin

It is necessary to download and install the free Replicate Post plugin in order to set up a one-click method to duplicate WordPress pages and posts. You may get it from the WordPress plugin directory, which you can access directly. If you want assistance with the installation of a plugin, please see our comprehensive guide. To use the plugin, navigate to the Pages or Postsarea in your WordPress dashboard after it has been installed and active. No matter whether you’re dealing with pages or posts, the Duplicate Post plugin automatically inserts three links beneath each title: By selecting any of the following links, a replica of the page will be created with some minor differences:

  • Copy:copies your WordPress page or post without requiring you to open the editor for the cloned piece of content. New Draft: creates a copy of the material and launches the editor, allowing you to begin to work right away. RewriteRepublish: This is the most effective method of upgrading material. It generates a duplicate of the live version of your material that you may use to make modifications to later on in time. As soon as you’re through with the adjustments, you may republish to the original URL to completely erase the previously published content with a single click

We’ll go into further depth about how each of these three alternatives works later in the essay. However, in other circumstances, you may choose to transfer all of the meta-data, or you may wish to restrict the number of individuals that have access to the data. Fortunately, you can accomplish all of this (and more) using the options of Duplicate Post.

Configure the settings if needed

The default Duplicate Post settings will be perfectly satisfactory for the vast majority of individuals. However, if you want additional control over the plugin’s operation, you may do so by navigating to Settings Duplicate Post. Let’s have a look at the many configuration choices.

What to copy

WordPress has three tabs, the first of which regulates what content will be copied when you duplicate a page or post. The second tab, What to copy, governs what material will be copied when you duplicate a post or page in WordPress. You’ll discover a number of basic alternatives that are ideal for creating backups of your material or developing a template that can be reused over and over again in the future.

You will have the ability to add title prefixes or suffixes to your copied material further on on the page, if you scroll down. Also included are options to omit meta-fields, categories, tags, and menus from the search results.

Who can copy

By default, only the Administrator and Editor user roles will have the ability to generate duplicate posts in their respective forums. The ability to duplicate posts and pages may be extended to most user roles, but it is crucial to note that users are not confined to copying their own posts and pages. You can, on the other hand, opt to limit the material that can be duplicated. If you have any blocks or custom post kinds, you will be able to access them from the permissions menu as well.

Display options

You may also restrict the access of the New Draft, Clone, and RewriteRepublish links by using theDisplay Show these links configuration. When you choose Show links in, you will be given the opportunity to modify the location in which the links show when they are accessible. Post list, Edit screen, and Admin bar are the three default options. Post List will add duplicate page links after the regular WordPress actions links, after which the post list will be removed. If you would want to generate duplicate pages directly from the editor, you may choose choose Edit screen.

You may also specify where the copied post or page will appear in your lists by dragging and dropping it there.

In the Post list option, by selecting the column, the plugin will add a new field that has a hyperlink to the original post.

Explaining the three options to duplicate a page in WordPress

We briefly discussed the three default duplication choices that the plugin provides earlier in this article. Now, let’s take a closer look at how each of the three functions:

Clone

Clicking on the Clone button will clone a WordPress page or post, but it will not allow you to alter the content. You’ll still be on the post or page list, but you’ll be able to view the latest addition. When you’re ready to make changes to the copied page, simply choose Edit and proceed as you would with any other page.

New draft

You may use the New draft button to copy the material and open the new page in the editor if you want to get started right away. You’ll notice that everything has been duplicated in the manner that you specified. Layouts, graphics, buttons, and text are all examples of what is meant by this. The title that appears on the page will include any suffixes or prefixes that you have specified.

RewriteRepublish

It is recommended that you use RewriteRepublish when you are duplicating material to update an existing piece of content rather than publishing a new piece of information. This is a particularly handy strategy for dealing with huge upgrades that cannot be finished in a single session. To begin, click on theRewriteRepublishlink on the page or in the page list to bring up the page edit window. You have generated a clone of the original page that you can modify and save without affecting the public view of the changes you make.

When you’re ready to publish, select Republish from the drop-down menu.

The ability to compare your draft post to the live post exists before your post is published.

When you press the republish button, the newly written material is published on top of the previously published content.

It will keep the URL the same (so that you don’t lose any SEO value), and it will erase any drafts of the duplicate version to keep your dashboard neat and prevent you from unintentionally publishing identical material in the future.

Conclusion on how to duplicate a page in WordPress

If you have a busy blog or sales pages that have been proved to be effective, duplicating a page in WordPress is a terrific method to streamline your workflow and increase productivity. The ability to work with numerous components, from code to layouts to text, is beneficial when you’re dealing with a large number of components at the same time. Create flawless duplicates of your existing content with a single click with the Duplicate Post plugin, which is available for both WordPress and Joomla.

Is there anything more you’d like to know about duplicating a post or page in WordPress?

Free guide

Guide is available for free download.

How To Duplicate Pages in Elementor

Given its nearly infinite design possibilities, the Elementor WordPress page builder plugin has quickly risen to become one of the most popular page builders available. One of the most common features it has to offer is the ability to clone Elementor pages, which is one of the more popular alternatives accessible.

What is Elementor?

Elementor is the most widely used page builder for WordPress currently available. You will be able to create and design pages using a drag and drop builder when the plugin has been installed and active on your website. This sort of design is sometimes referred to as a WYSIWYG (what you see is what you get) layout (what you see is what you get). It essentially means that you may create pages in real time and see precisely how they will appear. You don’t need to know or understand programming to use the page builder, which allows you to create a whole website without having to write a single line of code.

You might be interested:  How To Undo In Wordpress? (TOP 5 Tips)

Duplicating pages is possible in both versions of the software.

You will be able to replicate pages in Elementor whenever you want after installing the page builder and creating a page utilizing this straightforward and straightforward procedure.

How to Duplicate Elementor Pages

You may access the Save Options by clicking on the arrow next to the “UPDATE” button while you are working on a page and when it is time to save it. When those options appear, select “Save as Template” from the drop-down menu.

Step 2: Name Your Page Template

After that, a popup window will open, requesting that you name the new page template that you want to copy. Give the page template a name and hit the Save button when you’re finished with it.

Step 3: Access the My Templates Area

The popup box will stay visible, and you may access it by selecting the “My Templates” link on the top right of the screen.

It is as simple as clicking “Import” next to the saved page template you desire to use and you will be ready to go. It is possible to repeat the procedure as many times as you like and build as many duplicate templates as you want with Elementor.

Final Thoughts

A lot of exciting design possibilities may be realized when using the Elementor page builder in conjunction with WordPress. If you understand how to take use of all of the features, you can create and design a beautiful website that visitors and clients will like visiting. Elementor provides a plethora of customization choices and functionality. Because certain pages are utilized several times across a website, the ability to quickly replicate a page you create saves you time in the long run.

By selecting “My Templates” from the drop-down menu, you may access all of your duplicate pages at any moment.

If you know where to begin, the procedure will not be difficult at all to complete.

How To Duplicate a Page or Post in WordPress │Elementor

When you can complete laborious, repetitive chores with a few clicks, don’t spend your time doing them. Learn how to duplicate pages and articles to free up your time so that you can focus on more essential activities in your life. Want to replicate a WordPress page, post, or another sort of content? Look no further. Being able to quickly and efficiently replicate WordPress content may be quite beneficial in a variety of circumstances, including bulk producing identical material, updating older content, modifying a design, and many more.

It’s possible that, in addition to the content you’ve generated, you’ll want to keep the style of the post as well as the post’s settings like as its categories, tags, author, custom fields, and other information.

By the conclusion of this tutorial, you’ll be able to easily duplicate any content on your website with the press of a button — let’s get started!

How To Duplicate a Post or Page in WordPress: Three Methods

WordPress pages, posts, and custom post types may all be duplicated using one of three methods: copy, paste, and drag and drop.

  • Plugin– one of the numerous dedicated plugins (the most of which are free) is the quickest and most straightforward method of duplicating a post or page. Depending on how fully you want to copy the material, you may be able to utilize merely the editor if you are only concerned with duplicating the content and design. Manual coding– for those who like to do it themselves, you can just add some custom code to the functions.php file of your child theme.

Let’s have a look at each of the three techniques one by one.

How To Duplicate a WordPress Page Using a Plugin

It is possible to replicate articles, pages, or other material on your website with the help of a variety of WordPress plugins. If you have a WooCommerce shop, you can duplicate goods using the built-in capability provided by WooCommerce — more on that further down the page. And if you don’t have one, you may download a variety of free plugins from WordPress.org, such as the ones listed below:

  • Yoast Duplicate Post
  • Duplicate Post
  • Duplicate Page
  • Post Duplicator
  • Duplicate Page and Post
  • Yoast Duplicate Post
  • Yo

Furthermore, in addition to WooCommerce, we’ll show you how it integrates with two other free WordPress plugins from the preceding list:

  • Due to the fact that it is simple to use and contains a unique “RewriteRepublish” option that is excellent for changing existing material, Yoast Duplicate Post is recommended. Duplicate Post is beneficial since it allows you to have more precise control in various areas

Both plugins are completely free, and we have tested them to ensure that they function properly with both Elementor designs and content created using the WordPress native editor. We anticipate that all of the additional plugins listed above will also work with Elementor, though we have not tested them explicitly. First, let’s take a look at Yoast Duplicate Post and see what it can do. You should use this plugin if you merely want a quick and easy way to replicate posts, pages, or any other custom post type on your website.

This function essentially allows you to duplicate material in order to make modifications and then “merge” the duplicated content back into the original content when you’re ready to publish the changes to the public domain.

You now have a number of alternative options for duplicating information. To begin, you can navigate to the main PostsorPageslist page. When you hover your mouse cursor over an item in the list, you’ll see three choices:

  • Copiously replicate the material while keeping your browser tab open in the posts/pages list. A new draft should be created by duplicating the material and opening the editor for the copied content so that you may begin to work straight away. In addition to the features we covered above, the Rewrite and Republish function is also handy for upgrading outdated material. Once you’ve completed your work, the main distinction is that it will allow you to incorporate the material back into the original post.

The quickest and most straightforward method is to just clickClone. After that, you’ll see that a new draft entry for the copied material will appear in the list of draft entries. The plugin will display a “Customization Draft” message to alert you that it is a duplicate version of the original version: Second, you may copy and paste information from within the WordPress editing interface. These choices may be found in theStatusvisibilitysection of thePost/Pagesidebar: Status Visibility Finally, you may bulk duplicate posts or pages by utilizing the plugin’s choices in the bulk actions drop-down of the PostsorPageslist: bulk duplicate posts or pages

  1. Select all of the posts or pages that you wish to replicate by checking the box next to them. Select the duplicating technique from the drop-down menu, which includes Clone, Rewrite, and Republish. ClickApply

The Duplicate Post plugin’s functionality may be customized by going toSettings Duplicate Post > Customize Plugin Behavior. You can do the following in this section:

  • Select the material that will be duplicated. Put your own prefix or suffix in the title of your replicated item. In the menu, you may choose how duplicated material should be ordered. Choose which post kinds are eligible for duplication and which are not. Select the user roles that have the ability to duplicate content on your site. Customize the location of the duplicate post links/buttons to be shown

Replicate Post does the same fundamental purpose as Yoast Duplicate Post in that it makes it simple to swiftly duplicate a post or page on a WordPress website. The following are some of the advantages of this plugin over Yoast Duplicate Post:

  1. This feature allows you to replicate a post or page numerous times with a single click. In this case, you may specify that four duplicate copies should be created. You have a bit more control over what material you copy between articles when you use this feature. Has the ability to scan your website for duplicate material, which is important for swiftly identifying duplication
  2. The ability to replicate material between other WordPress multisite network sites, even those on a subdomain (albeit this capability is only available with the $19.98 premium plugin)
  3. And Provides the possibility to convert posts to pages and vice versa (this feature is only available in the premium edition)

If you don’t require such features, we recommend that you stay with Yoast Duplicate Post, which is more popular and does the job just as well. However, if you really want such functions, this is an excellent alternative to consider. Installing and activating the free Duplicate Post plugin from WordPress.org is the first step. As soon as you turn it on, it will begin to function properly. Then navigate to the Posts/Pageslist and hover your mouse cursor over the piece of information that you wish to replicate.

As soon as you hover your cursor over it, you’ll see some extra options that allow you to pick how many clones to create and which parameters to use (more on those in a moment): Similarly to Yoast Duplicate Post, you can utilize the checkboxes and bulk actions drop-down menus to bulk copy a number of articles at the same time.

This is the location where you may customize all of the options, which include:

  • What kind of material should be duplicated
  • Who has the ability to replicate stuff
  • Which custom post kinds should be enabled for duplication, and so forth.

When you duplicate content, one of the good features is that you can create numerous settings profiles and pick which configuration to apply for each one. If you go down to the bottom of the settings page, you will discover a tool that allows you to scan your site for duplicate material: Scan for duplicate content on your website. For those looking for a straightforward solution to duplicate content, we recommend sticking with the Yoast Duplicate Post plugin once more. However, if any of these features piqued your interest, Duplicate Post is a good alternative.

Duplicating a product is done through the Products section of your dashboard.

Duplicate: Duplicating a product from within the product editor is also possible by selecting theCopy to a new draft option under thePublishsettings section.

Please keep in mind that these choices are only available on items. Installing one of the plugins listed above will allow you to duplicate articles and pages on your website.

How To Duplicate a WordPress Page Using the Editor

If you’re primarily concerned with copying the content and appearance of a post or page, you might be able to get away without using a plugin because of some built-in editing tools. You will learn how to easily recreate a design that you have generated using either the native block editor (Gutenberg) or the Elementor plugin in the next section. Keep in mind that both of these approaches will simply copy the content and design – you’ll need to manually rebuild any relevant metadata, such as the title, categories, tags, and any custom fields, among other things.

To expand the menu, click on the three dots in the top-right corner of the screen.

Then, paste the material into the editor by clicking into it.

  • Copy and paste using a keyboard shortcut, such as Ctrl + VorCmd + V
  • Right-click and select paste.

In the editor, you should be able to view an exact replica of the original material. You will, however, need to remember to manually enter the title, categories, tags, and so on. Please keep in mind that you can replicate pages or posts created using Elementor by utilizing the plugins described above. However, if you’re only interested with recreating the look of an Elementor post/page (rather than additional metadata such as author and categories), you may do so by making use of Elementor’s templates system.

  1. To begin, you may save your design as a template using the Elementor editing interface by following these steps: Create a new post or page and insert the template from the Elementor template library, and you’re done.
  2. Using the Elementor import/export tool, you may quickly and easily construct a new website from scratch using your own designs.
  3. Afterwards, you may export the complete website and use it for your future projects.
  4. Make it your own by simply applying it to your website and inserting information inside.

How To Duplicate a WordPress Page Manually With Code

For those who want to take a more hands-on approach, you may also construct your own duplicate page feature by modifying some custom code in your website. Aside from avoiding the need to install a second plugin on your site, this strategy does not provide any further benefits over the plugin way. Although it is preferable to avoid using another plugin, this solution is acceptable and will function properly with both the usual editor content and Elementor. In order to make use of this code, you must include it in either your theme’s functions.php file or a code management plugin such as Code Snippets.

$current user is the same as wp get current user() in WordPress.

$new post id));exit;wp redirect(admin url(‘post.php?action=edit&post=’.

$post id); wp add action(‘admin action rd duplicate post as draft’, ‘rd duplicate post as draft’); wp add action(‘admin action rd duplicate post as draft’, ‘rd duplicate The duplicate link for the post row actions*/ function rd duplicate post link($actions, $post) is added to the action list for post row actions.

‘” “title=”Duplicate this item” rel=”permalink”>Duplicate this item; $actions should be returned; add filter(‘post row actions’, ‘rd duplicate post link’, 10, 2); add filter(‘post row actions’, ‘rd duplicate post link’); Default settings for the snippet allow for repetition across both posts and pages.

If you just want to activate it for one or the other, you can remove the page row actions or post row actionsfilters from the bottom of the code snippet and it will work as intended.

Improve Your Web Creation Process by Duplicating Pages and Posts

When you’re working on a WordPress site, the ability to replicate a page, post, or other post type comes in useful very often. The solutions we discussed in this post are three alternative approaches you may use to duplicating material. The free Yoast Duplicate Post plugin is the quickest and most convenient way for most individuals to completely clone a post or page. It starts operating straight immediately and is compatible with the block editor (Gutenberg), Elementor, and the Classic TinyMCE editor, among other things.

Duplicating items is also possible if you have a WooCommerce store, thanks to the built-in functionality of WooCommerce.

If you merely require a copy of the content or design of a post, Elementor’s template system or the block editor’s ability to copy all content can be used to accomplish your goal.

In most cases, you don’t want to publish duplicate material because it might have a bad impact on your search engine optimization.

Do you have any queries concerning how to replicate a WordPress page or post that have not been answered here?

Looking for fresh content?

Our weekly newsletter will provide you with articles and insights. Sergei Davidov works as a content creator for the Elementor platform. Devices, scientific advances, new applications, and software solutions are some of his favorite topics. Spicy food, books, and elevator music are some of his favorite things to do in his spare time.

Leave a Comment

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