{"id":10397,"date":"2021-06-16T14:12:30","date_gmt":"2021-06-16T11:12:30","guid":{"rendered":"\/\/?p=10397"},"modified":"2026-03-29T08:42:51","modified_gmt":"2026-03-29T08:42:51","slug":"how-to-duplicate-page-in-wordpress-advanced-and-simple-methods","status":"publish","type":"post","link":"https:\/\/getdevdone.com\/blog\/how-to-duplicate-page-in-wordpress-advanced-and-simple-methods.html","title":{"rendered":"How to Duplicate a Page in WordPress: 1 Advanced and 2 Simple Methods"},"content":{"rendered":"<h2>Learn how to duplicate a page in WordPress the right way by using some tried-and-tested techniques.<\/h2>\n<p><i>WordPress is by far the most popular content management system on the planet. It has some truly remarkable features that make its management a breeze for everyone. However, there are certain functions that are \u201chidden\u201d from the eyes of ordinary users and require some digging around to leverage them to the maximum. One of these is duplicating pages. In this post, we discuss several simple and more sophisticated methods to perform this task in WordPress.<br \/>\n<\/i><\/p>\n<p>GetDevDone has been active in the web development, <a href=\"https:\/\/getdevdone.com\/wordpress-development-services.html\">WordPress development<\/a> and design market for over a decade and a half. We\u2019ve successfully built thousands of online stores and sites based on a range of content management systems. The largest share among these belongs to the world\u2019s most popular platform for creating and modifying content \u2014 WordPress.<\/p>\n<p>There\u2019s nothing we don\u2019t know about this tool \u2014 something that the community and our clients can <a href=\"\/blog\/p2h-inc-is-top-perfroming-wordpress-developer-on-clutch.html\" target=\"_blank\" rel=\"noopener\">attest <\/a>to. With every major release, WordPress gets new features (the <a href=\"\/blog\/wordpress-multisite-vs-single-site-unveiling-the-truth-about-the-controversial-wp-feature.html\" target=\"_blank\" rel=\"noopener\">multisite <\/a>function, the <a href=\"\/blog\/can-you-solve-all-your-content-editing-problems-with-gutenberg.html\" target=\"_blank\" rel=\"noopener\">Gutenberg <\/a>editor, etc.) that make it more convenient and modern.<\/p>\n<p>In addition to the core functionality, there are a huge number of supplementary tools to handle every task that users might need to perform. These include helpful <a href=\"\/blog\/top-wordpress-backup-plugins-to-ensure-your-website-data-safety.html\" target=\"_blank\" rel=\"noopener\">plugins<\/a>, ready-to-apply themes, <a href=\"\/blog\/the-best-wordpress-page-builder-contest-wpbakery-vs-elementor.html\" target=\"_blank\" rel=\"noopener\">page builders<\/a>, and <a href=\"\/blog\/the-best-wordpress-developer-tools-to-use-in-2020.html\" target=\"_blank\" rel=\"noopener\">developer <\/a>solutions. In short, you have every reason to keep the \u201cProudly powered by WordPress\u201d credit in the footer of your site (although you can always <a href=\"\/blog\/how-to-remove-powered-by-in-wordpress-shopify-squarespace.html\" target=\"_blank\" rel=\"noopener\">remove <\/a>it).<\/p>\n<p>With all these improvements and enhancements, WordPress still has some secrets to reveal to its users. One of the functions that the developers have preferred to obscure for some reason is duplicating WordPress pages. This process is not as straightforward as many beginners might think.<\/p>\n<p>They might believe that to duplicate WordPress pages or posts, you only need to Ctrl+A and Ctrl+C (or Command-A and Command-C for MacOS users) the content of the original page, create a new one, and Ctrl+V (Command-V) the copied text into the fresh document.<\/p>\n<p>However, they suddenly discover that this doesn\u2019t do the trick. The resulting page or post turns out to be just plain text without any original formatting. Why so?<\/p>\n<p>Well, the fact is that you need to follow a different path to duplicate WordPress pages. Moreover, this path has <b>several ramifications<\/b> that lead to the same destination. In this post, we\u2019ll walk you through some of them. That is, we\u2019ll show you how to duplicate a page in WordPress by using 1 advanced and 2 simple techniques.<\/p>\n<p>First, though, let\u2019s take a look at the main reasons why you may want to duplicate WordPress pages.<\/p>\n<h2>The Most Common Reasons to Duplicate Pages in WordPress<\/h2>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-10405\" src=\"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16125959\/common-reassons-to-duplicate-page-in-wordpress-1024x448.png\" alt=\"Why duplicate WordPress pages: the most common reasons\" width=\"900\" height=\"394\" srcset=\"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16125959\/common-reassons-to-duplicate-page-in-wordpress-1024x448.png 1024w, https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16125959\/common-reassons-to-duplicate-page-in-wordpress-300x131.png 300w, https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16125959\/common-reassons-to-duplicate-page-in-wordpress-768x336.png 768w, https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16125959\/common-reassons-to-duplicate-page-in-wordpress.png 1947w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>There are multiple scenarios when you may wish to have an identical copy of a page or post. Here are the most typical:<\/p>\n<ol>\n<li>A page or post has a <b>specific structure <\/b>that no other page has. Why recreate it from scratch? It will take time, which you could otherwise spend creating the content. This is where you can duplicate a page in WordPress and save yourself these precious hours.<\/li>\n<li>A page or post has <b>a lot of content<\/b> you can use on another page with some slight modifications. For example, this can be a product page for a model of a vacuum cleaner or an air conditioner. Another model normally has similar but a bit different characteristics. The page can be well formatted and contain photos, videos, testimonials, and so on. By simply copying this content, you will lose the original formatting. When you duplicate pages in WordPress, on the other hand, you retain it. You can simply replace the specifications and photos fast and let your customers see the page live.<\/li>\n<li>A post belongs to a <b>series of posts with the same formatting and structure<\/b>. For example, there can be quotation boxes throughout the text, a frequently asked questions accordion at the bottom of each page, and so on. To ensure consistency for the entire series, just duplicate a page the WordPres way and replace the text and visuals.<\/li>\n<\/ol>\n<p>If you\u2019ve come across one of these use cases, we\u2019ve prepared a review of some effective methods to duplicate WordPress pages.<\/p>\n<h2>How to Duplicate a Page in WordPress: 2 Simple Techniques<\/h2>\n<h3>#1: Use the Code Editor<\/h3>\n<p>This method is straightforward and requires no technical knowledge. Here\u2019s what you should do:<\/p>\n<ol>\n<li>Go to the page\/post you need to copy.<\/li>\n<li>Select <b>Tools &gt;&gt; Source Code<\/b>.<\/li>\n<li>Choose <b>Code Editor<\/b>.<img decoding=\"async\" class=\"alignnone size-full wp-image-10416 aligncenter\" src=\"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16131945\/tools-source-code.jpg\" alt=\"Use the Code Editor to duplicate posts and pages\" width=\"346\" height=\"762\" srcset=\"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16131945\/tools-source-code.jpg 346w, https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16131945\/tools-source-code-136x300.jpg 136w\" sizes=\"(max-width: 346px) 100vw, 346px\" \/><\/li>\n<li>Ctrl+A, Ctrl+C or Command+A, Command+C the content.<\/li>\n<li>Select <b>New Page<\/b> (<b>New Pos<\/b><strong>t<\/strong>).<\/li>\n<li>Click on the <b>Code Editor (Text)<\/b> tab.<\/li>\n<li>Ctrl+V or Command+V the content. This should create a new page\/post with the same text, visuals, and formatting as the original one.<\/li>\n<\/ol>\n<p>However simple this method may seem, it has one serious drawback: it\u2019s time-consuming. If you need to copy several posts to create a series, for example, there is a more efficient way to accomplish this: plugins.<\/p>\n<h3>#2: Use Plugins<\/h3>\n<p>Installing a plugin to duplicate a WordPress page is the easiest way to achieve your goal. The official <a href=\"https:\/\/wordpress.org\/plugins\/search\/duplicate\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">plugin repository<\/a> has no shortage of these. We\u2019ve picked two of the most popular for our brief review: <a href=\"https:\/\/wordpress.org\/plugins\/copy-delete-posts\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Duplicate Post<\/a> and <a href=\"https:\/\/wordpress.org\/plugins\/post-duplicator\/\" target=\"_blank\" rel=\"noopener\">Post Duplicator<\/a>. Let\u2019s take a look at each.<\/p>\n<h4>Duplicate Post<\/h4>\n<p>This \u201cgrab all\u201d tool allows you to create an exact replica of your post\/page. That means you cannot only have a new post with the same content but also with the rest of the post elements, such as a slug and comments.<\/p>\n<p>Additionally, you can prefix or postfix your post titles. This feature lets you know exactly which of the posts or pages is a copy and which is the original. For instance, you can set \u201c_copy\u201d as the postfix for a duplicate. Then, a post with the original name \u201cHow to duplicate a page in WordPress\u201d will be copied as \u201cHow to duplicate a page in WordPress_copy.\u201d Very convenient!<\/p>\n<p>Here is what you should do <b>after installing<\/b> the plugin:<\/p>\n<ol>\n<li>In the dashboard, select the <b>Pages <\/b>option and then <b>All Pages<\/b>. Alternatively, select the <b>Post <\/b>option and <b>All Posts<\/b> to have a copy of a post.<\/li>\n<li>Find the post\/page you\u2019d like to copy. Mouse over it.<\/li>\n<li>Click the <b>Copy <\/b>link. This will bring up the popup you see in the screenshot below:<img decoding=\"async\" class=\"alignnone size-full wp-image-10412 aligncenter\" src=\"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16131410\/duplicate-post.jpg\" alt=\"Use the Duplicate Post plugin to duplicate a page in WordPress\" width=\"516\" height=\"496\" srcset=\"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16131410\/duplicate-post.jpg 516w, https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16131410\/duplicate-post-300x288.jpg 300w\" sizes=\"(max-width: 516px) 100vw, 516px\" \/><\/li>\n<li>Choose how many times you\u2019d like to duplicate the post and change the settings if necessary<\/li>\n<li>Click the <b>Copy now<\/b><strong>!<\/strong> button. There should now be two posts\/pages with the same title.<\/li>\n<\/ol>\n<h4>Post Duplicator<\/h4>\n<p>This is another plugin worth giving a shot. It\u2019s lightweight and enables you to duplicate WordPress pages and posts in their entirety, including custom elements.<\/p>\n<p>The process of creating copies with Post Duplicator is almost identical to that of Duplicate Post. The only difference is the last step. Here, you will see the link <b>Duplicate Post<\/b> or <b>Duplicate Page<\/b>. Select it and start editing the new document.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-10415 aligncenter\" src=\"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16131730\/post-duplicator.jpg\" alt=\"Use the Post Duplicator plugin to duplicate pages in WordPress\" width=\"516\" height=\"346\" srcset=\"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16131730\/post-duplicator.jpg 516w, https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/16131730\/post-duplicator-300x201.jpg 300w\" sizes=\"(max-width: 516px) 100vw, 516px\" \/><\/p>\n<p>Plugins are very handy for duplicating pages in WordPress. Remember, though, that they can become a security threat if you don\u2019t update them regularly. Read this post to learn what may happen if you use an outdated version of a plugin.<\/p>\n<p>One last method to duplicate a page in WordPress we\u2019re going to discuss today is a bit more advanced. Once you\u2019ve applied it, though, you can easily copy any posts or pages in just one click.<\/p>\n<h2>How to Duplicate a Page in WordPress: Adding a Function to the Code in functions.php<\/h2>\n<p>If you\u2019re familiar with coding and have edited core WordPress files before, you can try modifying the <b>functions.php<\/b> file in your WordPress theme. This will allow you to forget about plugins and duplicate WordPress pages and posts individually and in bulk easily.<\/p>\n<p>Here\u2019s how you can go about it:<\/p>\n<ol>\n<li><b>Back up your WordPress files.<\/b> It\u2019s extremely important since you\u2019re going to work with the core code. One inadvertent mistake may cause the entire site to crash. You can use one of these<a href=\"\/blog\/top-wordpress-backup-plugins-to-ensure-your-website-data-safety.html\" target=\"_blank\" rel=\"noopener\"> backup plugins<\/a>, for example.<\/li>\n<li><b>Create a child theme.<\/b> The reason is the same. If you mess up with a child theme\u2019s file, this won\u2019t affect the main theme and your site will continue working normally. Besides, once the main theme is updated, your modifications will be left intact.<\/li>\n<li>In the dashboard, open the child theme\u2019s <b>Theme editor<\/b>. In the right-hand panel, locate the <b>functions.php<\/b> file and click it. <strong><i>NOTE<\/i>:<\/strong> Your hosting provider may not allow you to edit files from the dashboard. In that case, you will have to use an FTP client like Filezilla to get inside your site\u2019s file system and open the functions.php file using a text editor such as Notepad++.<\/li>\n<li>Visit this <a href=\"https:\/\/gist.github.com\/muks999\/da941eca81819dbd831544f458f6007d\" target=\"_blank\" rel=\"noopener\">site <\/a>and copy the entire code in the window under the title <b>\u201cWordPress Duplicate post or page function.\u201d<\/b><\/li>\n<li>Return to the Theme editor and insert the code you\u2019ve copied after the last line in the functions.php file.<\/li>\n<li>Click <b>Update File<\/b> in the Theme editor or <b>Save <\/b>in a text editor.<\/li>\n<li>Go to <b>Posts <\/b>-&gt; <b>All Posts<\/b> and <b>Pages <\/b>-&gt; <b>All Pages<\/b>. Make sure that the <b>Duplicate <\/b>link is displayed after the <b>View <\/b>option for every post and page.<\/li>\n<\/ol>\n<p>Does this sound complicated? Our <a href=\"https:\/\/getdevdone.com\/wordpress-development-services.html\" target=\"_blank\" rel=\"noopener\">WordPress developers<\/a> are always ready to help you get things right.<\/p>\n<h2>Closing Words<\/h2>\n<p>These are just some methods to duplicate WordPress pages. Which of them you pick depends on how frequently you need to copy posts or pages in your work. If you do this just occasionally, copying code manually will probably do. More often? Install a plugin. A lot? Add a function to the functions.php file.<\/p>\n<p>Looking for a reliable <a href=\"https:\/\/getdevdone.com\/wordpress-development-services.html\" target=\"_blank\" rel=\"noopener\">WordPress development agency<\/a> for your next project or MVP <a href=\"https:\/\/getdevdone.com\/wordpress-landing-page-development.html\">landing page<\/a>? The GetDevDone team has unrivaled expertise in building sites based on this popular platform. We can customize your existing theme and functionality or build a solution from the ground up.<\/p>\n<p>Let\u2019s <a href=\"https:\/\/getdevdone.com\/contact-us.html\" target=\"_blank\" rel=\"noopener\">get in touch<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to duplicate a page in WordPress the right way by using some tried-and-tested techniques. WordPress is by far the most popular content management system on the planet. It has some truly remarkable features that make its management a breeze for everyone. However, there are certain functions that are&#8230;<\/p>\n","protected":false},"author":2,"featured_media":16280,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"advgb_blocks_editor_width":"","advgb_blocks_columns_visual_guide":"","footnotes":""},"categories":[740,752],"tags":[774,822,856,814],"class_list":["post-10397","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial","category-wordpress-development","tag-cms-development","tag-php","tag-tooling","tag-wordpress"],"acf":[],"aioseo_notices":[],"author_meta":{"display_name":"GetDevDone Team","author_link":"https:\/\/getdevdone.com\/blog\/author\/admin-p2h"},"featured_img":"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/27155048\/duplicate-wordpress-pages-300x300.png","coauthors":[],"tax_additional":{"categories":{"linked":["<a href=\"https:\/\/getdevdone.com\/blog\/category\/tutorial\" class=\"advgb-post-tax-term\">Tutorial<\/a>","<a href=\"https:\/\/getdevdone.com\/blog\/category\/wordpress-development\" class=\"advgb-post-tax-term\">WordPress development<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">Tutorial<\/span>","<span class=\"advgb-post-tax-term\">WordPress development<\/span>"]},"tags":{"linked":["<a href=\"https:\/\/getdevdone.com\/blog\/category\/wordpress-development\" class=\"advgb-post-tax-term\">CMS development<\/a>","<a href=\"https:\/\/getdevdone.com\/blog\/category\/wordpress-development\" class=\"advgb-post-tax-term\">PHP<\/a>","<a href=\"https:\/\/getdevdone.com\/blog\/category\/wordpress-development\" class=\"advgb-post-tax-term\">Tooling<\/a>","<a href=\"https:\/\/getdevdone.com\/blog\/category\/wordpress-development\" class=\"advgb-post-tax-term\">WordPress<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">CMS development<\/span>","<span class=\"advgb-post-tax-term\">PHP<\/span>","<span class=\"advgb-post-tax-term\">Tooling<\/span>","<span class=\"advgb-post-tax-term\">WordPress<\/span>"]}},"comment_count":"0","relative_dates":{"created":"Posted 5 years ago","modified":"Updated 7 days ago"},"absolute_dates":{"created":"Posted on June 16, 2021","modified":"Updated on March 29, 2026"},"absolute_dates_time":{"created":"Posted on June 16, 2021 2:12 pm","modified":"Updated on March 29, 2026 8:42 am"},"featured_img_caption":"","series_order":"","featured_image_urls":{"thumbnail_723x315":"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/27155048\/duplicate-wordpress-pages-400x315.png","thumbnail_723x315-2x":"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/27155048\/duplicate-wordpress-pages.png","thumbnail_723x315-3x":"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/27155048\/duplicate-wordpress-pages.png","thumbnail_770x510":"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/27155048\/duplicate-wordpress-pages.png","thumbnail_770x510-2x":"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/27155048\/duplicate-wordpress-pages.png","thumbnail_770x510-3x":"https:\/\/s3.amazonaws.com\/newblog.psd2html.com\/wp-content\/uploads\/2021\/06\/27155048\/duplicate-wordpress-pages.png"},"featured_post_color":"#4d67e6","author_avatar":"https:\/\/secure.gravatar.com\/avatar\/c67d54df2c6849e5b7af3126c36fe55b10f9d6a14b227d14b35af6c027abb195?s=96&d=mm&r=g","author_position":null,"reading_time":"<span class=\"span-reading-time rt-reading-time\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 7<\/span> <span class=\"rt-label rt-postfix\">min read<\/span><\/span>","prev_post":{"slug":"how-to-remove-powered-by-in-wordpress-shopify-squarespace","name":"How to Remove \"Powered by...\" in WordPress, Shopify, and Squarespace"},"next_post":{"slug":"how-to-organize-products-on-shopify-some-helpful-tips","name":"How to Organize Products on Shopify: Some Helpful Tips"},"related_posts":["3-main-reasons-to-use-wordpress-for-building-your-minimum-viable-product","best-ways-to-optimize-your-wordpress-website","common-myths-about-traditional-wordpress-vs-headless-wordpress-debunked"],"_links":{"self":[{"href":"https:\/\/getdevdone.com\/blog\/wp-json\/wp\/v2\/posts\/10397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/getdevdone.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/getdevdone.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/getdevdone.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/getdevdone.com\/blog\/wp-json\/wp\/v2\/comments?post=10397"}],"version-history":[{"count":35,"href":"https:\/\/getdevdone.com\/blog\/wp-json\/wp\/v2\/posts\/10397\/revisions"}],"predecessor-version":[{"id":24868,"href":"https:\/\/getdevdone.com\/blog\/wp-json\/wp\/v2\/posts\/10397\/revisions\/24868"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/getdevdone.com\/blog\/wp-json\/wp\/v2\/media\/16280"}],"wp:attachment":[{"href":"https:\/\/getdevdone.com\/blog\/wp-json\/wp\/v2\/media?parent=10397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/getdevdone.com\/blog\/wp-json\/wp\/v2\/categories?post=10397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/getdevdone.com\/blog\/wp-json\/wp\/v2\/tags?post=10397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}