> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Duplicating pages and posts in WordPress

> Learn how to duplicate WordPress pages and posts in this article.

This article describes how to duplicate a [WordPress](https://hosting.com/hosting/platforms/wordpress-hosting/managed-wordpress-hosting/) page or post.

## Duplicating a WordPress page

There are a few ways you can duplicate a WordPress page or post:

* **Manually copy the content**: You can copy the content and paste it into a new draft. For simple pages, this may be all you need. However, categories, tags, images, and metadata are not copied when you use this method.

* **Add custom code**: You can add custom code to the theme's *functions.php* file that duplicates pages. Although this is a powerful method that gives you complete control over the duplication process, it requires in-depth knowledge of PHP and WordPress internals.

* **Use a plugin**: You can use a third-party plugin to duplicate a post. This is the easiest method, and is described in this article.

### Installing the Yoast Duplicate Post plugin

The [Yoast Duplicate Post plugin](https://wordpress.org/plugins/duplicate-post) enables you to easily copy pages and posts in WordPress.

To install the Yoast Duplicate Post plugin, follow these steps:

1. Log in to WordPress as the administrator.

2. On the Dashboard in the left sidebar, click **Plugins**, and then click **Add New**:\
   ![](https://static.hosting.com/kb/kb-wordpress-sidebar-plugins-add-new.png)

3. On the **Add Plugins** page, in the **Search plugins** text box, type `duplicate post` and then press Enter.

4. Locate the **Yoast Duplicate Post** section, and then click **Install Now**:\
   ![](https://static.hosting.com/kb/kb-wordpress-yoast-duplicate-post-install.png)

5. When installation is complete, click **Activate**. You are now ready to use Yoast Duplicate Post.

### Using the Yoast Duplicate Post plugin

After you have installed the Yoast Duplicate Post plugin, you are ready to use it to copy pages and posts. To do this, follow these steps:

1. Log in to WordPress as the administrator.

2. On the Dashboard in the left sidebar, click **Settings**, and then click **Duplicate Post**:\
   ![](https://static.hosting.com/kb/kb-wordpress-yoast-duplicate-post-settings-menu.png)

3. The **Duplicate Post Options** page appears:\
   ![](https://static.hosting.com/kb/kb-wordpress-yoast-duplicate-post-options-page.png)

4. There are three tabs with various plugin settings:

* **What to copy**: Use the settings on this tab to specify which elements of a post or page to copy.

* **Permissions**: Use the settings on this tab to specify which user roles can copy posts and pages.

* **Display**: Use the settings on this tab to specify miscellaneous options.

5. Click **Save changes** to save the configuration settings.

6. After you have configured the plugin, you are ready to copy a post. To do this, follow these steps:

* On the Dashboard in the left sidebar, click **Posts**.

* Locate the post you want to duplicate, and then click **Clone**:\
  ![](https://static.hosting.com/kb/kb-wordpress-yoast-duplicate-post-clone.png)

* An exact duplicate of the post appears, with **Draft** next to it:\
  ![](https://static.hosting.com/kb/kb-wordpress-yoast-duplicate-post-two-posts.png)

## More information

For more information about the Yoast Duplicate Post plugin, please visit [https://wordpress.org/plugins/duplicate-post](https://wordpress.org/plugins/duplicate-post).

## Related articles

* [Installing Jetpack on a managed WordPress site](/docs/jetpack-installation)

* [Managing WordPress comments](/docs/managing-wordpress-comments)

* [Scheduling post publishing in WordPress](/docs/scheduling-post-publishing-in-wordpress)
