Topics Map > UW Theme Functionality
Topics Map > Plugins

WiscWeb - Cloning, duplicating, and replacing existing pages

This document will walk through the process of cloning, duplicating, or rewriting & republishing an existing page or post within your WiscWeb site using the Yoast Duplicate Post plugin.

In this document:


Overview

WiscWeb uses the Yoast Duplicate Post plugin to allow users to copy pages or posts that you have created. This will be especially helpful when you create a layout that you are happy with and want to use it again. The plugin allows you to duplicate an existing page or post, make changes to it and then republish those changes to the original page or post. The new options that exist with this plugin to be aware of: Clone, New Draft, and Rewrite & Republish.


Activating the plugin

This plugin can be activated by a site administrator to make these options available. You can learn more about self-service plugin activation at: WiscWeb - Self service plugin activation / deactivation


Duplicate Post options

You may want to take a moment to set any options for the plugin before using it.

  1. Hover your mouse over the Settings option on the left, and click Duplicate Post.

    Menu path for Duplicate Post options highlighted
  2. You will have access to three tabs for the settings: What to copy, Permissions, and Display.

    Option tabs for the Duplicate Post plugin
  3. In What to copy, the recommended options to edit include:
    • Post/page elements to copy - Specify what items from a page or post will remain with the item when you duplicate it.
    • Title prefix - Identify a prefix to a page or post that you copy, such as Copy of or Copied draft of.
    • Title suffix - Identify a suffix to a page or post that you copy, such as copy or clone.
    • Increase menu order by - Maintain the menu that this item was originally a part of, but increase its location in the structure
    • Do not copy these taxonomies - Define any specific WordPress / UW Theme taxonomies.
  4. In Permissions, the recommended options to edit include:
    • Roles allowed to copy - Specify which users within your site that can use this plugin.
    • Enable for these post types - Specify what types of posts to include in this plugin's availability.

      Duplicate Posts settings options

      Please note: If you have Events Calendar and UW Events active, you will see two options for Events - be sure to check both.
  5. In Display, the recommended options to edit include:
    • Show these links - Specify which values from the plugin to display in your page or post.
    • Show links in - See where cloning or rewriting a page or post is active.
  6. Be sure to click Save changes after making any edits to your options.


Cloning a page or post

The first option to be aware of is the ability to copy a page immediately and set it to Draft status. Be aware that this option does not automatically open up the newly copied page or post. There are two ways to access this option.

  1. Access your Pages or Posts by clicking on the menu item in the far left of your screen.
  2. Hover your mouse over the item that you would like to copy, and click on the Clone option.

    Options for a page are visible, with a red box outlining the word Clone

  3. This is also available in the page or post itself. Click Copy to a new draft found in the Publish section of the item. A confirmation will appear at the top of your current page that says "1 item copied." 

    Publish options for a page are visible, with a red box outlining the words Copy to a new draft

  4. A new page or post appears, immediately placed in the Draft status. 

    Pages list with the Home page displayed in draft status
  5. In the new page or post, give it a new Title at the top and also be sure to change the Permalink value as well. It will add a number next to the Permalink (URL) value, which will not help with search optimization. URL values should have lower case characters, and use a hyphen to represent a space. For example, change-this-title would be an appropriate Permalink value to use.

  6. Click Save Draft to keep the page in draft status and continue updating. Click Publish to make this new page or post live.


Creating and editing a duplicated page or post

A second option is to create and begin editing a duplicated page or post that will be set to Draft status. Be aware that this option automatically opens up the newly copied page or post. 

  1. Access your Pages or Posts by clicking on the menu item in the far left of your screen.
  2. Hover your mouse over the item that you would like to copy, and click on the New Draft option.

    Options for a page are visible, with a red box outlining the words New Draft

  3. The page or post is immediately copied and placed in a Draft status, and loads to the editing screen for it.
  4. In the new page or post, give it a new Title at the top and also be sure to change the Permalink value as well. It will add a number next to the Permalink (URL) value, which will not help with search optimization. URL values should have lower case characters, and use a hyphen to represent a space. For example, change-this-title would be an appropriate Permalink value to use.
  5. Click Save Draft to keep the page in draft status and continue updating. Click Publish to make this new page or post live.


Rewriting and republishing an existing page or post

You can also duplicate a page or post, make specific changes to it, and rewrite those changes to the original. There are two ways to access this option.

  1. Access your Pages or Posts by clicking on the menu item in the far left of your screen.
  2. Hover your mouse over the item that you would like to copy, and click on the Rewrite & Republish option.

    Options for a page are visible, with a red box outlining the words Rewrite & Republish
  3. This option also exists by clicking Rewrite & Republish found in the Publish section of the item.

    Publish options for a page are visible, with a red box outlining the words Rewrite & Republish

  4. Upon clicking the value, a new Draft of that page or post appears. A message at the top states, "You can now start rewriting your post in this duplicate of the original post. If you click "Republish", your changes will be merged into the original post and you’ll be redirected there."
  5. Make the changes that you would like to this particular item. You can click Save Draft in the Republish options section to save your progress.
  6. Click the Republish button to commit your changes to the original page or post.

    The Republish options for a page are visible, with a red box outlining the button for Republish
  7. Be sure to verify the changes you wanted to make are accurate within the newly published page or post.


Keywords:
plugin, draft, rewrite, overhaul, change, duplicate, post, replicate, replace, swap, yoast, Yoast, Yoast Duplicate Post, copy
Doc ID:
119608
Owned by:
Matt G. in WiscWeb
Created:
2022-07-13
Updated:
2023-06-26
Sites:
WiscWeb