We hope you enjoy reading this post.

If you would like our team to work for you, click here.

Want to learn how to duplicate pages and posts on WordPress?

In WordPress, duplicating a page or post can entail more than simply copying and pasting the information. If you are using a theme builder like Elementor or WP Bakery you might have certain structures in place that you’d like to copy over too. If you’re looking to duplicate a page or post in it’s entirety, then you’ll likely want to keep the SEO data and graphics amongst other things.

Fortunately, duplicating pages and posts, as well as all of their structured data, is really simple in WordPress, both with or without a plugin.

Use a plugin to duplicate your content

When you utilise a plugin, duplicating a WordPress page is really straightforward because everything is done directly in your WordPress administrator dashboard. Because you won’t be editing your site’s code directly, using plugins is also the safest option to duplicate a page or post.

Duplicate Wordpress Pages

Duplicate Post is our favourite method for duplicating WordPress pages and posts. This plugin is really simple to use and it copies everything from your page or post’s content to a new draft.

To use the Yoast Duplicate Post plugin to duplicate a post, simply do the following:

  • Install the plugin and activate it
  • In your WordPress dashboard to duplicate Posts, go to Posts > All posts
  • In your WordPress dashboard to duplicate Pages, go to Pages > All pages
  • In the list of posts and pages, find the page or post you want to copy, and click on Clone to duplicate it.
  • You can select multiple pages or posts at one time, and you can clone them all at once using Bulk Actions.

Edit your functions.php to duplicate your content

Editing the code in your functions.php file is one of the manual ways to duplicate a WordPress page or post. While this may seem simple, you should proceed with caution and create a backup of your website first.

We recommend using UpDraftPlus the world’s most trusted WordPress backup and restore plugin, to backup your WordPress websites.

Once you’ve taken a backup, you’ll need to access your functions.php file and open it for editing via Secure File Transfer Protocol (FTP) or whatever means have access to. Then to show a duplicate button on the All Posts list, at the very end of the file, add the following code snippet:

Copy to Clipboard

Duplicating a page in WordPress is also a straightforward operation. Simply substitute the following snippet for the last line of the code above:

Copy to Clipboard

You should notice a Duplicate button in the All Posts or All Pages menu if you’ve successfully embedded the code above.

Copy & paste to duplicate your content

You can manually copy and paste the code for the page or post you want to clone if you don’t want to change your functions.php file. You’ll need to do the following to accomplish this:

  1. Open the page/post you want to duplicate.
  2. Click on the More Tools & Options menu.
  3. Select Code Editor.
  4. Copy the code for the page/post.
  5. Click on New Post or New Page.
  6. In the new post/page, open the Code Editor.
  7. Paste in the code.
  8. Click on the More Tools & Options menu.
  9. Select Visual Editor.
  10. The new page/post should now be a duplicate of the old one.

This procedure can take some time, and you’ll have to repeat it for each page or post you’d like to duplicate. That’s why, if you’re wanting to duplicate a lot of content, we recommend using a plugin.

Conclusion

We hope you find the instructions and all of the tools recommended in the article useful for duplicating a page or post in WordPress.

In WordPress, duplicating a page or a post can be beneficial in a variety of ways. You might want to make a copy of your current page for future site design inspiration. It’s also possible that you’ll need to duplicate an existing post in order to utilise it as a template.

While you can manually copy and paste a page or a post, this might be inconvenient if you manage a lot of content.

Do you have any queries, suggestions, or strategies for duplicating a WordPress page or post? Please share your thoughts in the comments box below!

Speak to a WordPress expert

Share This Article, Choose Your Platform!

We hope you enjoyed reading this post.

If you would like our team to work for you, click here.

Leave A Comment

WP Rocket - WordPress Caching Plugin

Get 20% Off

SPECIAL OFFER – LIMITED TIME
FOR ALL SERVICES

Call Today
Call Today

Get 20% Off

SPECIAL OFFER – LIMITED TIME – FOR ALL SERVICES