To copy a post or page:
- Click on Posts or Pages in your dashboard.
- Click the ellipses menu (the three vertical dots) to the right of the post or page you want to copy.
- Select Copy.
- The WordPress Editor will open immediately, creating a new post with duplicated content.
- 1 Can I copy a page from one WordPress site to another?
- 2 How do I duplicate a page in WordPress 2021?
- 3 How do I copy a WordPress page without plugins?
- 4 How do you copy a page?
- 5 How do I copy a page from another website?
- 6 How do I copy a WordPress theme?
- 7 How do I duplicate a WordPress portfolio?
- 8 How do I copy a whole page in Elementor?
- 9 Can I copy a page in Elementor?
- 10 How do I duplicate a page in Astra WordPress?
- 11 How do I copy and paste a page?
- 12 How do I copy a page that Cannot be copied?
- 13 How to Duplicate a WordPress Page or Post with a Single Click
- 14 How to Duplicate a Page or Post in WordPress
- 15 Easily Clone a Page in WordPress with These Plugins
- 16 Duplicating a Page in WordPress Without a Plugin
- 17 Keep Learning with WP Engine
- 18 How to Duplicate a WordPress Page or Post: 4 Simple Methods
- 19 Duplicating Page or Post with WordPress Plugin
- 20 Duplicating WordPress Page or Post Without Plugins
- 21 Conclusion
- 22 How to Duplicate a Page in WordPress
- 23 The Difference Between Duplicating a Page in WordPress and ‘Duplicate Content’
- 24 Why You’d Want to Duplicate a Page in WordPress
- 25 How to Duplicate a Page in WordPress (4 Methods)
- 25.1 1. Copy and Paste Your Content Manually (And Why It’s Not Ideal)
- 25.2 2. Consider Using the Block Editor’s Functionality to Help You Duplicate Pages
- 25.3 3. Use a WordPress Plugin to Duplicate Your Page
- 25.4 4. Add Code to Yourfunctions.phpFile to Duplicate Your Page in WordPress
- 26 How to Choose the Right Method to Duplicate Your Page in WordPress
- 27 Wrapping Up
- 28 How Do I Duplicate a Page in WordPress?
- 29 Manually Duplicate WordPress Pages or Posts Without Plugins by Copying Code
- 30 Clone or Duplicate a WordPress Page or Post Using Plugins
- 31 Other Plugin Alternatives to Duplicate WordPress Pages
- 32 Conclusion
- 33 How to Duplicate a Page in WordPress (Beginner’s Guide)
- 34 How to duplicate a page in WordPress with the Duplicate Post plugin
- 35 Explaining the three options to duplicate a page in WordPress
- 36 Conclusion on how to duplicate a page in WordPress
- 37 Duplicate Page
Can I copy a page from one WordPress site to another?
WordPress has feature that allows for migrating posts and pages without copying any other content. The built in import/export WordPress function allows you to easily sync new posts and pages without needing to reimport the database.
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 WordPress page without plugins?
How to Duplicate a WordPress Page Without a Plugin
- First, you need to go to Pages -> All Pages from the left sidebar and then, open the page you want to clone.
- Next, click on the 3 vertical dots icon, present at the top-right corner of your screen.
- Now create a new page by clicking on Pages -> Add New.
How do you copy a page?
Place your cursor at the beginning of the page you want to copy. Click and drag the cursor to the bottom of the page you want to copy. Press Ctrl + C on your keyboard. Tip: Another way to copy your highlighted text is to click Home > Copy.
How do I copy a page from another website?
- Click anywhere within the webpage you want to copy.
- Type CTRL+A to select everything on the page.
- Type CTRL+C to copy that selection to the clipboard.
- Switch to Word (or your word processing program of choice).
- Type CTRL+V to paste.
How do I copy a WordPress theme?
Using WP File Manager
- Click the “WP File Manager” tool from the left panel.
- By default, WP File Manager connects to your WordPress installation.
- Double-click the “themes” folder.
- Select the theme you want to duplicate by clicking it once.
- Click the “Duplicate” button.
How do I duplicate a WordPress portfolio?
Here’s how to duplicate a page or post using Post Duplicator plugin:
- Install and activate the Post Duplicator plugin.
- Access your WordPress admin, and find the post or page you want to duplicate.
- Click Duplicate Post or Duplicate Page.
How do I copy a whole page in Elementor?
To duplicate a page created with Elementor, save your designed page as a template, and then import that template into other pages as needed. Save Page As Template
- Click the arrow next to the UPDATE button to open the Save Options.
- Click Save as Template.
- Give your page template a name and click the Save button.
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.
How do I duplicate a page in Astra WordPress?
Head to the Dashboard, choose Pages, select Page, and click on All Page; Take a look at the page you would like to copy and find the Clone option or New Draft variant.
How do I copy and paste a page?
Ask Leo says you can use the Ctrl+A keyboard command to select everything on the page, then Ctrl+C to copy everything. After copying the content, open your document and right-click to access a menu. Next, click “Paste” to add all of the copied content. You can also use the Ctrl+V command to paste everything.
How do I copy a page that Cannot be copied?
Since it is displayed in a plain text editor it is possible to copy anything from it without restriction. Simply press Ctrl-u while you are on the site to display its source code. This works in most browsers including Firefox, Chrome and Internet Explorer.
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.
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:
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:
- 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:
- 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
- Select theDuplicate option from the drop-down menu.
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:
- 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
- Select theDuplicate This option from the drop-down menu.
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:
- Install the plugin and make sure it is activated
- Go to PostsAll or PagesAll to locate the information you wish to duplicate
- 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.
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
When cloning a WordPress page or post manually, one of the options is to alter a section of code in the yourfunctions.php file. You should proceed with caution and create a backup of your website before attempting to accomplish this. To enable cloning for posts, you’ll need to gain access to your functions.php file and open it for modification, either by Secure File Transfer Protocol (FTP) or another mechanism of your choosing. It will then be necessary to add the following code snippet at the conclusion of your file: /** Post-duplication function to be used after the original has been deleted.
After that, the user is taken to the editing screen.
$post id = (isset($ GET)?
**and all of the original post data then*/$post = get post($post id);/** alternatively, if you don’t want the current user to be the new post author,* change the next couple of lines to this: **and all of the original post data then*/if you don’t want the current user to be the new post author,* then change the next couple of lines to this: $new post author = $post- post author;*/$current user = wp get current user();$new post author = $current user- ID;/** if post data already 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(” $sql query.= implode(” UNION ALL “, $sql query sel);$wpdb- query($sql query);$wpdb- query($sql query);$sql query.= implode(” UNION ALL “, $sql query sel);$sql query.= implode(” UNION ALL “, 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; otherwise add action(‘admin action rd duplicate post as draft’, ‘rd duplicate post as draft’); /** Add the duplicate link to the action list for the post row actions*/ function rd duplicate post link($actions, $post) /** Add the duplicate link to the action list for the post row actions*/ function rd duplicate post link($actions, $post) /** $actions should be returned.
After that, you can return to your WordPress dashboard to continue your work. When you hover over a page or post that you want to copy, the duplicate button should now appear.
- 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
- 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!
How to Duplicate a WordPress Page or Post: 4 Simple Methods
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:
- 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
Replicate Page and Post is a WordPress plugin that allows you to rapidly duplicate pages and articles. The plugin has the ability to copy a page or post without altering the post type, content, title, or style of the original. It is quite simple to use this plugin. The following are the procedures you must do in order to replicate a post or a page in WordPress:
- To duplicate a page or a post in your WordPress dashboard after downloading and activating the plugin, navigate to theAll Pages orAll Postsmenu, depending on what you want to duplicate
- Drape your cursor over the post or page you wish to duplicate and clickDuplicate
- Posts and pages that have been copied will show 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.
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:
- 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
- Duplicate Postor
- Duplicate Page
- 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
The use of code in your functions.php file is an alternative to employing plugins for the purpose of duplicating articles and pages. Duplication links can be activated via a variety of methods, including an FTP client, an HTML editor, or the WordPress file editor included into the theme itself. You may read our post to learn about the best HTML editors for code editing if you choose the second option. To utilize the built-in file editor for duplicating posts or pages on your site, go to Appearance in your WordPress dashboard and click on the Duplicate Posts or Pages button.
The functions.php file may also be configured using Hostinger’s File Manager, as an alternative.
Backup your website before making any changes to any WordPress files is strongly recommended.
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.
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 to Duplicate a Page in WordPress
Duplicate material is something you don’t want to see on your website too frequently. However, making duplicates of your pages — that is, duplicating them – in order to maintain consistency is a wise practice. Your primary focus should be how you are going to complete the task at hand. The good news is that there are a few different ways to replicate a page in WordPress, which is to be anticipated for such a versatile platform. Furthermore, no matter how much or how little experience you have, there is a way that will work for you.
However, before we get into that, let’s have a look at why you would want to do so in the first place.
The Difference Between Duplicating a Page in WordPress and ‘Duplicate Content’
First and foremost, it is important to understand the difference between duplicating a page in WordPress and duplicating content in WordPress. The latter is concerned with Search Engine Optimization (SEO) (SEO). Duplicate content occurs when a large portion or all of the material on one page of your website is identical to content on another page elsewhere on the internet. However, while it might be considered a negative, it is not something that a search engine would often penalize you for right away.
Because the assumption is that this is a premeditated conduct, the sanctions are far more severe in this instance.
The aim is to utilize this duplicated page as a foundation for a new one, and using it for this purpose will not result in a search engine penalty. Allow me to explain why you would want to do this in a little more detail next.
Why You’d Want to Duplicate a Page in WordPress
To be honest, you’ll probably be aware of when you’re in a position that necessitates the creation of a duplicate WordPress page. It is possible, though, that your existing techniques of producing articles and pages might be improved by adopting a more streamlined approach to the process. As an illustration:
- For your present page, you have a certain layout in mind that is similar to another page on your website
- If you frequently reuse pages while adding fresh material (for example, blog articles), you may want to make ‘drafts’ of such pages. One layout contains customized HTML or CSS code that you would want to incorporate into a new page
- You could want to work on a new version of a page but don’t have access to staging functionality (although there are other methods to accomplish this)
- You might want to work on a new version of a page but don’t have access to staging technology
All of these scenarios might benefit from a shortcut when it comes to replicating your website on the fly. As a result, let’s have a look at the options we offer in the next section.
How to Duplicate a Page in WordPress (4 Methods)
Depending on your previous expertise, we’ll progress from quite easy to somewhat challenging for the four approaches listed below. Here’s what we’ll be talking about:
- Instructions on how to manually copy and paste your material (as well as why you shouldn’t)
- Make use of theBlock Editor to copy and paste your information
- Install a plugin to make a copy of a page
- Duplicate pages can be created by including code in your functions.php file.
Once we’re through, we’ll provide you with some recommendations for the most effective approach to replicate a page in WordPress.
1. Copy and Paste Your Content Manually (And Why It’s Not Ideal)
First and foremost, let’s talk about the typical method that many people will follow. If you want to duplicate a page in WordPress, you may use the ‘brute force’ method of just copying and pasting the text into a new draft. Those of you who are shrugging your shoulders while reading this are likely to fall into one of the following categories:
- Your website has a limited number of pages and makes limited use of SEO or taxonomy data. Because of this, the page you’d like to duplicate is not available from the back end of your website. You haven’t identified a more efficient method
If you agree with either of the first two arguments, copying and pasting will almost certainly be the most efficient method of moving forward. Despite the fact that manually copying and pasting is straightforward to understand and execute, there are a few disadvantages. This method will not successfully copy over photos, categories and tags, meta descriptions, permalinks, or any other aspects of your site that are not visible to the public, such as custom HTML.
Step 1. Copy the Text From the Original Article
CTRL-A is your best buddy in this situation, and the steps aren’t difficult:
- Obtain access to the website in issue
- Make a note of the content and copy it. Copy it and paste it into your new draft.
Even the most ‘tech-illiterate’ person should have no trouble with this. The second stage, on the other hand, is a little more difficult.
Step 2. Remove Tags From Your HTML
It is important to note that, depending on your source and target documents, you may need to reapply heading formats as well as delete any unnecessary HTML from the backend. Once you’ve copied the material across, go to your page’s code editor and make the necessary changes. Users of the Classic Editor should select the Texttab. Users of the Block Editor will wish to go over to the Code editor: It’s a good idea to eliminate anynbsp;orspantags that you come across from this point forward.
The labor itself might become a time sink for more than one or two pages, and every manual repetition has the risk of introducing flaws and blunders.
2. Consider Using the Block Editor’s Functionality to Help You Duplicate Pages
It is more accurate to describe this strategy as “semi-manual” because the majority of the disadvantages are still there. However, if you already have a page on your own WordPress site that you’d like to replicate, just visit the page and navigate to theMore toolsoptionsmenu in the top right-hand corner of the screen like follows: Once you’ve opened this menu, navigate to theToolssection and selectCopy all content from the menu.
From here, you can copy and paste the material into a new manuscript and begin working on it right away. However, it is still not the most effective method of duplicating a page in WordPress, as previously stated.
3. Use a WordPress Plugin to Duplicate Your Page
Plugins are available for nearly anything that can be done in WordPress, and duplicating pages is no exception. Your first task is to select something appropriate for this situation. You’ll want to seek for plugins that have been updated within the previous six months, are compatible with your WordPress version, and have received positive ratings and reviews from other users (at least four stars). There are a few of recommendations in this section. duplication of posts by yoast Duplicate Page and Post are both well-received and frequently maintained on the website.
Select the page you’d like to replicate and check for aDuplicate Thislink: from this point on.
4. Add Code to Yourfunctions.phpFile to Duplicate Your Page in WordPress
Our third solution is, without a doubt, the most difficult to construct, but it provides the greatest flexibility and ease of execution. Coding yourfunctions.phpfile is useful for a variety of tasks, not the least of which is duplicating pages in WordPress. This implies that it will always be there when you need it since you can add it right to yourPagesdashboard screen if you like. However, before you begin, you’ll need to make sure the following elements are in place:
- A text editor that is appropriate. A free text editor such as Atom, Sublime Text, or Notepad++ is available (or may be downloaded for a trial period), and a default text editor will suffice in a pinch. A client for the File Transfer Protocol (FTP). FileZilla and CyberDuck are both excellent solutions that will provide you with a pleasant manner to visit your website. In addition, your hosting provider may supply a File Manager, which performs the same functions. Access to the server that hosts your website. Your hosting control panel or an email provided to you when you first acquired an account will normally contain the credentials for this. Having the ability to administer your website through FTP. This is something you should brush up on if you haven’t done so already
- The Make WordPress website offers a wonderful FileZilla lesson that can be modified to work with different clients. A child theme that is based on your existing parent theme is available. This helps to ensure that your modifications are preserved when updates are made, and we’ve addressed how to achieve this in previous articles.
Once you’re ready, launch your FTP client and follow through with the instructions!
Step 1. Open Your functions.php File
In order to do this, first connect into your website using your FTP software and seek for thewp-contentthemesfolder:themes folder. ” srcset=” 713w,395w,186w” sizes=”(max-width: 713px) 100vw, 713px”> ” srcset=” 713w,395w,186w” sizes=”(max-width: 713px) 100vw, 713px”> Your child theme’s folder, which contains the afunctions.php file, should be located within this directory. Alternatively, it may not exist, in which case you will need to build it first. The next step is to modify it.
Step 2. Add Code to Yourfunctions.phpFile
The following code should be added to your functions.php file after it has been opened. Following all of the other code that may be put there, it should be placed after this: /* The function for duplicate posts and pages. Duplicates display as drafts, and the user is forwarded to the Edit screen when they are created. Rd duplicate post as draft is a function in the RD library () global $wpdb; if (! (isset($ GET) || isset($ POST)|| (isset($ REQUEST)’rd duplicate post as draft’ = $_REQUEST))) wp die(‘No post to duplicate has been given!’); if (!
absint($ GET): absint($ POST);/* This returns the ID of the original post or page */ $post id .and then it retrieves the original post data.
Otherwise… */ $current user = wp get current user(); $new post author = $current user- ID;/* $new post author = $current user- ID; If the post data already exists, build a duplicate */ if (isset($post)$post!= null), create the duplicate /* Create a new post data array */ $args = array(‘comment status’ =$post- comment status, ‘ping status’=$post- ping status, ‘post author’=$new post author, ‘ping status’=$post- ping status, ‘ping status’=$post- ping status, ‘ping status’=$post- ping_ ‘post content’ equals $post- post content, ‘post excerpt’ equals $post- post excerpt, ‘post name’ equals $post- post name, and ‘post excerpt’ equals $post- post excerpt The variable ‘post parent’ equals $post- post parent.
The value of ‘post password’ is equal to $post- post password.
For example, array(“category”, “post tag”); foreach ($taxonomies as $taxonomy); get object taxonomies($post- post type); / yields array of taxonomy names for post type, for example, array(“category”, “post tag”); If (count($post meta infos)!=0), then wp get object terms($post id, $taxonomy, array(‘fields’ =’slugs’)); and wp set object terms($new post id, $post terms, $taxonomy, false); ///* Duplicate all of the post metadata */ $post meta infos = $w $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; $meta key = $meta info- meta key;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'”; The SQL query is imploded using the $sql query sel variable; the $wpdb query function is query($sql query); and the $sql query variable is imploded using the $sql query variable.
* Redirect to the Edit post screen for the new draft */ wp redirect(admin url(‘post.php?action=edit post=’.
$new post id)); else wp die(‘Post creation failed, could not find original post: ‘.
$post id); wp die(‘Post creation failed, could not * Add the duplicate link to the action list for post row actions */ function rd duplicate post link */ post row actions action list for post row actions ($actions, $post) is a slang term for “actions” and “post.” 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=’ “The URL of the duplicate post as a draft is wp nonce url(‘admin.php?action=duplicate post as draft post=’.
$post- ID, basename( FILE_), and ‘duplicate nonce’).
Step 3. Check You Can Duplicate a Page
Finally, reload your back end and navigate to yourPages screen. You’ll see that the duplicate link appears in the same location as before: Although it works perfectly when placed within your child theme’s functions.php file, if you have the proper expertise, you could easily make this into a plugin and build on the capabilities even more.
How to Choose the Right Method to Duplicate Your Page in WordPress
When it comes to replicating your websites, the propensity to go with the shortest approach makes sense in some situations. However, depending on your requirements, you may wish to explore a more involved solution, which we believe is worth considering. When it comes to most WordPress users who merely need to replicate a page, a plugin is going to be your best choice in most cases. You may install and activate it as often as you need, and it will provide you with the capabilities that you want (and more in some cases).
It will always be there, and it will provide you with a tailored experience depending on your requirements.
On the surface, an operation such as duplicating a page with WordPress appears to be as simple as pressing a single button. Depending on your level of expertise and understanding, certain ways may appear to be significantly more complicated. In this post, we’ve looked at four different approaches of duplicating a page in WordPress, each with a different level of complexity. Let’s take a brief look at what they are:
- An apparent easy button press should be all that is required to complete an operation like duplicate a page with WordPress, right? Wrong. Some ways might appear considerably more complicated than others, depending on your level of expertise and understanding. It has been discussed in this post how to replicate a WordPress page in four different methods, each with a different level of complexity. Let’s take a short look at what they were:
Which of these methods appeals to you the most if you’re seeking for a technique to replicate a page in WordPress? Please share your thoughts in the comments box below!
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.
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!
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 way to duplicate 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
WordPress has three tabs, the first of which determines what content will be copied when you duplicate a page or post. The second tab, What to copy, regulates what material will be copied when you duplicate a post or page. If you’re looking to make backups of your work or create a template that can be used again and over again, you’ll discover a number of simple alternatives. The option to add title prefixes or suffixes to your copied material will be available to you further down on the page.
What to copyis the first of three tabs in WordPress, and it determines what material will be copied when you duplicate a page or post. You’ll discover a selection of basic solutions that are ideal for creating backups of your work or building a template that can be used again and over again. You will have the ability to add title prefixes or suffixes to your copied material later on in the page. Additionally, you have the option of excluding meta-fields as well as categories, tags, and menus.
Explaining the three options to duplicate a page in WordPress
What to copyis the first of three tabs in WordPress, and it determines which content will be copied when you duplicate a page or post. You’ll discover a number of basic alternatives that are ideal for creating backups of your work or building a template that can be used again and over again. You will have the opportunity to add title prefixes or suffixes to your repeated material further down the page. Furthermore, you have the option of excluding meta-fields as well as categories, tags, and menus.
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.
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.
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. When you’re working multiple components from code through layouts to text it helps to have a risk-free option in your arsenal. Create flawless duplicates of your existing content with a single click with the Duplicate Post plugin, which is available for both WordPress and Joomla. If you’re seeking for a technique to clone your complete WordPress website, you might want to look at one of our prior posts first.
Fill in the blanks in the comments section below!
Guide is available for free download.
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.