Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Default archiving behavior

  • The page will be marked as Archived in Drupal. Editors can still view and edit the page as normal.

  • The page is no longer visible to the public. The public will see this screen:

    Image Removed

Redirecting archived pages

To unpublish a page on SF.gov, redirect it instead of archiving.

...

/wiki/spaces/DS/pages/3356426241 for the node (or ask in Teams if you aren’t DS content team)

...

Always make sure you set up a redirect before archiving a published page.

Redirect before you archive

If you no longer need a page, follow these steps:

...

  1. Ask Digital Services to set up a redirect from that page to another SF.gov page. This is to prevent people from getting an error message (Page not found, for example) if they had previously bookmarked the page.

  2. Once we let you know your redirect is working, you can find your old page from the content dashboard, click on "Edit" and change the title of the page to start with Redirected: [Title]

  3. Do not archive the page

There are issues with redirecting archived pages, and it’s easy to set up the redirects incorrectly.

Note

Always set up the redirect using the ID number (or Node number), not the page name.

** there is a ticket to fix this issue, but it’s more difficult than it would appear **

Jira Legacy
serverSystem JIRA
serverId956b1330-188e-3ada-9c2f-e57c8117bf24
keySG-1721

...

Un-archiving pages

  1. The last step is to scroll all the way down the page and change the state from 'published' to 'archived' and save. Now your page is unpublished and no longer accessible to the public.

...

Info

If you change the state from "Published" to "Draft", it will not unpublish your page. Instead, it creates a "Latest version" of the page and your old version is still published and live on the internet.

Un-archive a page

Un-archive a page means you want to re-publish that page. If that's the case, follow these steps:

  1. If you previously requested a redirect, you'll need to ask Digital Services to delete the redirect first so people can access the page again.

  2. Use the “ID” column to find the node number of the page you want to unarchive.

  3. Search existing redirects for the node number.

    Image Removed
  4. Delete the redirect.

  5. Republish the pageUpdate your page title and change the page status from 'archived' to 'published.'

  6. Save.