Replacing pages

This page will teach you how to transfer your page content to a new Content type. This could be used to change your Basic pages into a Staff profile or to combine multiple pages into one.

On

Please note: This can be a complicated process. If you are not confident that you are able to do it by yourself then please contact digital.help@sheffield.ac.uk for help.

Moving the content

Open up the page you would like to convert to a new content type. We will call this the 'source page'.

Keep the source page open and open a new tab. In this new tab, open the Group the source page is located in, go to the 'Pages' tab and click ‘Add new content’ to create a new page.

  1. Choose the destination content type you require.
  2. Copy the title and intro text across from the source page into the new.
  3. Copy the name of the media from the top of the source page, or choose a new image.
  4. Add the word 'new' to the title field, to distinguish the new page from the old.

Go through the rest of the source page and move the content across to the new. You may find it useful to click the 'maximise' button in the destination page toolbar to make the editor larger.

Things to note when copying your content across:

Some items (eg text, links, horizontal lines) can be copied and pasted and will still work. Other types of content (eg images, videos, accordions, block quotes) will need to be manually inserted/recreated.

Text:

  • Change any H3 section headers to H2

Links:

  • Use this as an opportunity to replace any redirecting links to absolute links using the link lookup. If the link on the source page is a lookup link, then you can copy and paste it like normal text.
  • Consider adding 'related info' links at the bottom of the page if there are none.

Remember!

Ensure that your new page is published before switching the page or any links to the page will not work.


Switching the page

Check for existing links

Go back in to edit the source page and click on the 'Usage' tab. This displays all pages in the CMS that contain a link to the source page.

The usage tab in the new cms

There are five columns on the usage tab:

  • Entity - the page containing the link
  • Type - the content type of this page
  • Language - the language the page is written in
  • Field name - the area/field where the link appears on the page
  • Status - whether the page is published or unpublished
  • Used in* - whether it is a default or previous version of the page that contains the link.

*Note: the 'Used in' column will not appear if all usages are in currently published pages.

For the purpose of switching our page, we will mainly be looking at the 'Status' and 'Used in' fields.

  1. Open up each page listed in the entity column, except those that say 'Previous revisions' in the 'Used In' column (these pages previously contained a link which has already been removed).
  2. On the pages that you have just opened, locate the link currently pointing to your source page. The 'field name' column will help you to find the link.
  3. Using the link lookup tool, update the link to point to the new page.
  4. Save the page.
Use the link look up tool to search for the new url

Once you have done this for all the entity pages, the 'Used in' column should say 'Previous revisions' against them, when refreshed.

Usage tab, 'Used in' column now shows previous revisions for all published pages

If the entity page is not in your group, you will need to contact the site coordinator to request the link be updated. A list of site owners can be found in the Section owners directory.

Remember!

Make sure you update all pages, even if they are unpublished, as they could later be published.


Page location and URL

If you require your new page to use the same URL as the source page, use the options on the right-hand side of the editor to place the destination page in the site structure at the same level as the source page, parented under the same item.

Switching the URL

  1. Append the source page Short name to indicate this page isn't in use (eg Research groups old) and save the page.
  2. Go into the new page, remove the word 'new' from the short name and click save.

The new page should now have the same URL as the former. Remember to unpublish the old page!

Shows the word 'old' has been added after the text in the short name field and the parent location of the page.

If you want your new page to have a different URL to your old page, you will need to request a redirect. Please specify the node ID of both the new and old page when making a request.

Guidance on 404 pages and redirects

If you require further help with switching a page then please contact the digital team at digital.help@sheffield.ac.uk.

Get in touch

If you have CMS questions or are stuck then get in touch and we'll do our best to help.