Site Map Component

Generate a dynamic index of your site.

On this page:

Last reviewed: May 23, 2022

Using This Component

This component  has only one tab.

When you add the component, a list of links is automatically created that displays the page structure of your entire website (see the example listed in the right sidebar).

Root Path: Click the magnifying glass on the right of the field to browse to the directory where the Site Map should start. All activated child pages will be listed.

Technical Restrictions

  1. Pages that are set as 'Hide in Navigation' are not shown. (However, pages set as 'Hide in Lists' are listed.)
  2. Secure pages will only be shown if the visitor has access to them and has already logged in through Shibboleth (see Advanced Use below for a workaround).

Configure - Main Settings

Click the wrench icon to 'configure' these settings.

When you add the component, a list of links is automatically created that displays the page structure of your entire website (see the example listed in the right sidebar).

Root Path: Click the magnifying glass on the right of the field to browse to the directory where the Site Map should start. All activated child pages will be listed.

Advanced: How To Reveal Secure Pages in Lists or Navigation

Secure pages are by design only accessible to a user once they have successfully logged in through Shibboleth. In some cases, like the Site Map Component, the UBCMS is smart enough to not even reveal a link to a secure page unless the user should see the link, but this makes it difficult to naturally reveal these pages in lists to users who may not have logged in, or in cases where you do wish the public to know the secure page exists.

  1. Using Page Properties, conceal the secure page (in page properties, set "Hide In Lists" and "Hide in Navigation").
  2. Build a matching new page in the same folder using the Redirect Template. Open this new page, and select the secure page as what to "Redirect to".
  3. Build your list normally.

The redirect page will instead be shown in the site map and take users to the secure page, but the secure page will only be displayed if they successfully authenticate with authorization to view the page.

Advanced: XML formated sitemap

An XML formated sitemap can be useful for SEO work. The UBCMS can create this tool automatically for you. Change the page's URL as follows. 

YOU DO NOT NEED TO CREATE A SITEMAP FIRST.

Note: the longer extension is required for top level sites (e.g. law.buffalo.edu).

  1. Take your normal live URL (confirm this loads in your browser).
    • e.g. https://www.buffalo.edu/president.html
    • e.g. https://www.law.buffalo.edu
  2. Adjust the tail end of the URL from abc.html to abc.sitemap.xml.
  3. If that doesn't work, try changing the URL from abc.html to abc/jcr:content.sitemap.xml. This is also required for top level sites (e.g. Nursing, Law, Management).
  4. If that still does not work, double check your page is not set as 'Hide in Google XML Sitemap' in its Properties.

Your sitemap may extend beyond your own site.

This xml index is built from all relative paths it finds from the starting page. Depending on how your site is constructed, links on your pages or in the navigation that references other UBCMS sites (anything that is set using the finder tool as "/content...") will include them in the sitemap.  Absolute paths (https://...) are ignored.

Your sitemap may miss some of your pages.

These pages will be ignored:

  • Pages set as 'hide in Google XML sitemap' in Properties
  • Secure pages.
  • Pages that have no direct path to them, e.g. if they are set as 'hide in lists' and 'hide in nav'.

If you're having trouble getting the XML Sitemap to work, double check 'Hide in Google XML Sitemap' is not set in the page's Properties.

See an Example

Below is an automated sitemap of the UBCMS Basics section of this website.

Was This Information Helpful?

(Required)
(Required)
(so we can thank you or request more details)
(Required)
(buffalo.edu addresses only please)
(Required)