{"id":187,"date":"2025-05-03T20:09:58","date_gmt":"2025-05-03T14:09:58","guid":{"rendered":"https:\/\/jettcode.com\/blog\/?p=187"},"modified":"2025-05-03T20:09:58","modified_gmt":"2025-05-03T14:09:58","slug":"how-to-duplicate-a-page-in-wordpress","status":"publish","type":"post","link":"https:\/\/jettcode.com\/blog\/how-to-duplicate-a-page-in-wordpress\/","title":{"rendered":"How to Duplicate a Page in WordPress (4 Easy Methods)"},"content":{"rendered":"<p>Need to create an exact copy of a WordPress page? Whether you want to reuse content, create templates, or test changes safely, duplicating pages can save you tons of time. Here are four simple ways to clone any WordPress page or post.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/jettcode.com\/blog\/how-to-duplicate-a-page-in-wordpress\/#Method_1_Using_a_Plugin_Easiest_Way\" title=\"Method 1: Using a Plugin (Easiest Way)\">Method 1: Using a Plugin (Easiest Way)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/jettcode.com\/blog\/how-to-duplicate-a-page-in-wordpress\/#Method_2_Manually_Copy_and_Paste\" title=\"Method 2: Manually Copy and Paste\">Method 2: Manually Copy and Paste<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/jettcode.com\/blog\/how-to-duplicate-a-page-in-wordpress\/#Method_3_Using_the_Gutenberg_Editor\" title=\"Method 3: Using the Gutenberg Editor\">Method 3: Using the Gutenberg Editor<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/jettcode.com\/blog\/how-to-duplicate-a-page-in-wordpress\/#Method_4_Duplicate_with_Code_For_Developers\" title=\"Method 4: Duplicate with Code (For Developers)\">Method 4: Duplicate with Code (For Developers)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/jettcode.com\/blog\/how-to-duplicate-a-page-in-wordpress\/#Bonus_Duplicate_Multiple_Pages_at_Once\" title=\"Bonus: Duplicate Multiple Pages at Once\">Bonus: Duplicate Multiple Pages at Once<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/jettcode.com\/blog\/how-to-duplicate-a-page-in-wordpress\/#Which_Method_Should_You_Use\" title=\"Which Method Should You Use?\">Which Method Should You Use?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/jettcode.com\/blog\/how-to-duplicate-a-page-in-wordpress\/#Pro_Tips_for_Duplicating_Pages\" title=\"Pro Tips for Duplicating Pages\">Pro Tips for Duplicating Pages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/jettcode.com\/blog\/how-to-duplicate-a-page-in-wordpress\/#Troubleshooting_Common_Issues\" title=\"Troubleshooting Common Issues\">Troubleshooting Common Issues<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/jettcode.com\/blog\/how-to-duplicate-a-page-in-wordpress\/#Final_Thoughts\" title=\"Final Thoughts\">Final Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Method_1_Using_a_Plugin_Easiest_Way\"><\/span>Method 1: Using a Plugin (Easiest Way)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The simplest method for beginners:<\/p>\n<ol>\n<li>Install and activate the <strong>Duplicate Page<\/strong> plugin<\/li>\n<li>Go to Pages \u2192 All Pages in your WordPress dashboard<\/li>\n<li>Hover over the page you want to duplicate<\/li>\n<li>Click <strong>Duplicate This<\/strong> from the options<\/li>\n<li>Your cloned page will appear as &#8220;Copy of [Original Page Name]&#8221;<\/li>\n<\/ol>\n<p><strong>Bonus:<\/strong> The plugin also lets you duplicate posts and custom post types!<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Method_2_Manually_Copy_and_Paste\"><\/span>Method 2: Manually Copy and Paste<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>No-plugin method for occasional duplication:<\/p>\n<ol>\n<li>Edit the page you want to duplicate<\/li>\n<li>Switch to the Text\/Code editor view<\/li>\n<li>Copy all the content (Ctrl+A then Ctrl+C)<\/li>\n<li>Create a new page<\/li>\n<li>Paste the content into the Text\/Code editor<\/li>\n<li>Don&#8217;t forget to copy the title and SEO settings too!<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Method_3_Using_the_Gutenberg_Editor\"><\/span>Method 3: Using the Gutenberg Editor<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For WordPress 5.0+ users:<\/p>\n<ol>\n<li>Create a new blank page<\/li>\n<li>Go to the page you want to duplicate<\/li>\n<li>Click the three-dot menu in the top-right<\/li>\n<li>Select <strong>Copy All Content<\/strong><\/li>\n<li>Return to your new page and paste<\/li>\n<\/ol>\n<p>Note: This copies content but not page attributes or settings.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Method_4_Duplicate_with_Code_For_Developers\"><\/span>Method 4: Duplicate with Code (For Developers)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Add this to your theme&#8217;s functions.php file:<\/p>\n<pre><code>\r\n  function duplicate_post_as_draft(){\r\n    global $wpdb;\r\n    if (! ( isset( $_GET['post']) || ! ( isset( $_REQUEST['action'])) \r\n      return;\r\n    \r\n    $post_id = (int) $_GET['post'];\r\n    $post = get_post( $post_id );\r\n    $current_user = wp_get_current_user();\r\n    $new_post_author = $current_user->ID;\r\n    \r\n    if (isset( $post ) && $post != null) {\r\n      $args = array(\r\n        'comment_status' => $post->comment_status,\r\n        'ping_status'    => $post->ping_status,\r\n        'post_author'    => $new_post_author,\r\n        'post_content'   => $post->post_content,\r\n        'post_excerpt'   => $post->post_excerpt,\r\n        'post_name'      => $post->post_name,\r\n        'post_parent'    => $post->post_parent,\r\n        'post_password'  => $post->post_password,\r\n        'post_status'    => 'draft',\r\n        'post_title'     => $post->post_title.' (Copy)',\r\n        'post_type'      => $post->post_type,\r\n        'to_ping'        => $post->to_ping,\r\n        'menu_order'     => $post->menu_order\r\n      );\r\n      \r\n      $new_post_id = wp_insert_post( $args );\r\n      \/\/ Copy taxonomies and meta data too\r\n      \/\/ (Full code would continue here)\r\n    }\r\n  }\r\n  add_action( 'admin_action_duplicate_post_as_draft', 'duplicate_post_as_draft' );\r\n  <\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Bonus_Duplicate_Multiple_Pages_at_Once\"><\/span>Bonus: Duplicate Multiple Pages at Once<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>With the <strong>Bulk Page Creator<\/strong> plugin you can:<\/p>\n<ul>\n<li>Select multiple pages to duplicate<\/li>\n<li>Create variations with different titles<\/li>\n<li>Automatically update links in duplicated content<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Which_Method_Should_You_Use\"><\/span>Which Method Should You Use?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<table>\n<tr>\n<th>Method<\/th>\n<th>Best For<\/th>\n<th>Difficulty<\/th>\n<\/tr>\n<tr>\n<td>Plugin<\/td>\n<td>Beginners, frequent use<\/td>\n<td>\u2605\u2606\u2606\u2606\u2606<\/td>\n<\/tr>\n<tr>\n<td>Copy\/Paste<\/td>\n<td>One-time duplication<\/td>\n<td>\u2605\u2605\u2606\u2606\u2606<\/td>\n<\/tr>\n<tr>\n<td>Gutenberg<\/td>\n<td>Content-only copying<\/td>\n<td>\u2605\u2606\u2606\u2606\u2606<\/td>\n<\/tr>\n<tr>\n<td>Code<\/td>\n<td>Developers, custom needs<\/td>\n<td>\u2605\u2605\u2605\u2605\u2606<\/td>\n<\/tr>\n<\/table>\n<h2><span class=\"ez-toc-section\" id=\"Pro_Tips_for_Duplicating_Pages\"><\/span>Pro Tips for Duplicating Pages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Always check that shortcodes and embeds work in the duplicate<\/li>\n<li>Update internal links that point to the original page<\/li>\n<li>Consider using a staging site to test duplicated pages<\/li>\n<li>For eCommerce sites, be careful duplicating product pages<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Troubleshooting_Common_Issues\"><\/span>Troubleshooting Common Issues<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Problem:<\/strong> Duplicate looks different than original<br \/>\n  <strong>Solution:<\/strong> Check that all custom fields and meta data were copied<\/p>\n<p><strong>Problem:<\/strong> Plugin not working<br \/>\n  <strong>Solution:<\/strong> Try a different duplication plugin like Duplicate Post<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Final Thoughts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Duplicating WordPress pages is incredibly useful for maintaining consistency across your site, creating templates, or safely experimenting with design changes. While plugins offer the simplest solution, knowing multiple methods ensures you can always create copies when needed.<\/p>\n<p>Which duplication method works best for you? Have any tips to share? Let us know in the comments!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Need to create an exact copy of a WordPress page? Whether you want to reuse&hellip;<\/p>\n","protected":false},"author":1,"featured_media":191,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,3],"tags":[],"class_list":["post-187","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","category-tips"],"_links":{"self":[{"href":"https:\/\/jettcode.com\/blog\/wp-json\/wp\/v2\/posts\/187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jettcode.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jettcode.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jettcode.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jettcode.com\/blog\/wp-json\/wp\/v2\/comments?post=187"}],"version-history":[{"count":2,"href":"https:\/\/jettcode.com\/blog\/wp-json\/wp\/v2\/posts\/187\/revisions"}],"predecessor-version":[{"id":189,"href":"https:\/\/jettcode.com\/blog\/wp-json\/wp\/v2\/posts\/187\/revisions\/189"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jettcode.com\/blog\/wp-json\/wp\/v2\/media\/191"}],"wp:attachment":[{"href":"https:\/\/jettcode.com\/blog\/wp-json\/wp\/v2\/media?parent=187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jettcode.com\/blog\/wp-json\/wp\/v2\/categories?post=187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jettcode.com\/blog\/wp-json\/wp\/v2\/tags?post=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}