You can use the "Pages Linking Here" tool to see which pages link to each piece of content. So, if you plan to send a Service Detail to the trash or unpublish a document, for example, you can find out ahead of time which pages you’ll affect and avoid breaking links.
Using “Pages Linking Here” differs slightly depending on whether you’re reviewing HTML pages or documents.
“Pages Linking Here” for (HTML) pages
Go to “My Content” or “All Content” to find the page you want to check.
Click either the title of a page on the left or the “Edit” button on the right.
If you click the title, you will find the “Pages Linking Here” tab at the top right of the screen between the “View” and “Edit” tabs on the menu bar.
If you click on the “Edit” button for a content type, such as a Service Detail page or Contact, you will find the “Pages Linking Here” tab between the “View” and “Edit” tabs at the top left of the CMS editing fields.
Once you’ve accessed “Pages Linking Here,” you’ll see a screen that shows pages that link to this page, the content type of those pages, and the fields where the links can be found. The “Field Label” column lists the types of fields where links can be found, and for rich text fields, examples include “Body,” “Overview,” and “Main text.”
If you click on the page title, you’ll go directly to that page, where you’ll be able to see the link to the piece of content that you’re using “Pages Linking Here” to examine.
Content strategy tips
You can use “Pages Linking Here” to gain insights into whether your content connects optimally across Mass.gov. For instance, if “Pages Linking Here” shows that one of your Service Detail or How-To pages is not linked from at least one Service page, as they should be, you can then address the situation.
If you’re reviewing a piece of content with “Pages Linking Here” and find that links to the content don’t appear on any pages, then you’ll see the following:
This means you’ll have some work to do to improve your content connectivity.
“Pages Linking Here” for documents
Go to “All Documents” in the main CMS menu to locate the document you want to check for page links.
Click the “Edit” button on the far right to access “Pages Linking Here.” (Don’t click the title/permalink unless you simply want to view the document.)
You’ll find the “Pages Linking Here” tab to the left of the “View” and “Edit” tabs at the top left of the CMS editing fields.
When you click the “Pages Linking Here” tab, you’ll see a list of the pages that link to the document and the content type of those pages. Click the page title to see where the document is linked on the page.