There are a number of cases where you may need to duplicate a page or post in WordPress. You may want to create a new post using a similar format, or you may want to make changes to a page without editing the live version.
You could just copy and paste your content to a new draft, but this would not include the featured imageA featured image, also known as a post thumbnail, is an image that represents the contents of a WordPress post... More, SEO settings, categoriesIn WordPress, categories are a fundamental taxonomy used to group and organize posts based on their topics or ... More, tagsIn WordPress, tags are a taxonomy used to classify and organize posts. They are similar to categories, but unl... More, or other metadata associated with the post.
In this tutorial, you’ll see how to create an exact copy, metadata included, with a single click.
How To Duplicate WordPress Posts & Pages
Before you can duplicate postsA post is a type of content in WordPress, a popular open-source content management system used for creating an... More or pagesIn WordPress, a page is a content type that is used to create non-dynamic pages on a website. Pages are typica... More in WordPress, you’ll need to install and activate the Duplicate Post pluginA plugin is a software component that adds specific features and functionality to your WordPress website. Esse... More:
Once you’ve activated it, go to
Posts > All Posts in your WordPress dashboardIn WordPress, the Dashboard is a central hub for managing a website's content and settings. It is the first sc... More.
Now, when you hover your mouse over one of your posts, you’ll see two new options:
- Clone — This will duplicate the post, using its content and settings to create a new draft, but you won’t be redirected to the post editor.
- New Draft — This option does the same thing, except it will automatically open the post editor so you can start working on the duplicate post right away.
A new “Copy to a new draft” option will also appear in the admin bar, both on the post editor and on the live version of the post:
These options are also available for pages, and the process looks exactly the same.
How To Duplicate Custom Post Types
You can also extend the same functionality to your custom post typesA custom post type is a feature in WordPress that allows users to create their own content types, beyond the d... More.
Make sure you’ve installed the Duplicate Post plugin, go to
Settings > Duplicate Post, and click over to the Permissions tab at the top.
Under “Enable for these post types,” select any custom post types you want to have the option to duplicate.
After saving your changes, you will be able to duplicate custom post types just like posts and pages.
Customizing Duplicate Post Settings
There are some other options you can adjust to further customize your workflow. To edit these settings, go to
Settings > Duplicate Post in your WordPress dashboard.
What to copy
This section determines what specific data is copied when you duplicate a post.
By default, the title, excerptIn WordPress, an excerpt is a summary or brief description of a post's content. It is typically used to provid... More, content, featured image, page/post template, post format, and menuIn WordPress, a menu is a collection of links that are displayed as a navigation menu on a website. Menus are ... More order will be copied. You can disable any of these, and you can opt to include the date, status, slugIn WordPress, a slug is the unique text that appears in a URL to identify a specific page or post. This term i... More, author, password, attachments, children, and/or commentsComments are a feature of WordPress that allow users to engage in discussions about the content of a website. ... More.
Below that, you can add a prefix or suffix to the title (e.g. “Copy of”) to denote that it is a duplicate.
You can then edit the resulting menu order and specify any meta fields you’d like excluded from the copy. You can also choose to omit taxonomyIn WordPress, a taxonomy is a way of grouping content together based on shared characteristics. It is used to ... More data such as categories or tags.
On this tab, you can specify which user roles are allowed to duplicate posts, and you can add support for custom post types (as mentioned above).
In this section, you can choose where you’d like the duplicate post links to show up.
Being able to duplicate a WordPress page or post with a single click is incredibly handy. It’s unfortunate that this feature isn’t available out of the box, but the Duplicate Post plugin is a seamless solution that works really well.
If you have any questions about duplicating content in WordPress, feel free to leave them in the comments below!