Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 20 Next »

Use the information on this page to learn how to update your site’s navigation, page URLs, and manage redirects on your site.

Any content added to a PDX.edu site must be accessible to users with disabilities and follow appropriate legal guidelines. Additional information can be found in PSU’s Digital Accessibility, Digital Privacy, and Copyright policies.

There are two main ways to manage your site’s navigation: using the PSU Primary Menu or by editing a page. Whichever method you choose, you will have the following choices to make:

  • Menu link title: the text used in the menu for this page

  • Description: additional context text that appears on hover

  • Parent Item: determines the menu structure; <PSU Primary Menu> puts this in your top-level navigation. Choosing anything else nests this item under the selected page. 

  • Weight: helps to reorder the menu items. Ignore this; there is an easier way to reorder your menu.

Things to note:

  • There are three navigation layers:

    • Top-level: displays in the white bar next to the search button

    • Secondary: displays in the drop-down menu

    • Third-level: displays in the drop-down menu under the secondary navigation

  • Your site’s top-level navigation can only be all direct links with no drop-down navigation, or all have a drop-down menu. This is an accessibility requirement. Follow the instructions for mixed navigation (both drop-down and direct links) if your site has mixed navigation.

  • While you can nest navigation items beyond the third level, they will all display the same as third-level navigation.

  • If you have secondary menu items with third-level items and secondary menu items without third-level items in a drop-down menu, the secondary items without third-level will always group together to the right of the menu.

  • Your top-level menu is limited by the amount of space you have. When adding pages to it, review the spacing to check if you need to rename menu link titles so it doesn't look "shoved together".  

 Add a page to navigation by editing the page

Not all pages have this option. When editing a page that does have this option, you'll notice a "Menu Settings" section in the right sidebar of the page.

To add the page to your site’s navigation, expand the “Menu Settings” and select “Provide a menu link” to add the page to your site’s navigation.

 Add a page to navigation using the PSU Primary Menu

While you can add any page to your navigation menu using this option, your site's menu should be for navigating within your site. Use CTA and Link paragraph blocks to create links to external resources and documents.

  1. Use the admin menu to navigate to “Structure → Menus → PSU Primary Menu → Add Link” to create the menu link.

  2. Complete the form. This page has added options, beyond those described above. These include:

    • Link: where the menu link goes. Begin typing the page title of a published page and select the correct page from the list of options.

    • Enabled: leave this at the default

    • Show as expanded: leave this at the default

 Reordering your menu

It can be challenging to reorder menus using the weight. Here we’ll discuss an easier method. However, you can only do this with menu links that have already been created.

  1. Use the admin menu to navigate to “Structure → Menus → PSU Primary Menu". 

  2. Hover over the crosshairs to the left of the menu item you want to move. 

  3. Select and drag the crosshairs to move the menu item up or down.  

  4. Save your changes. 

 Managing mixed navigation

If you have mixed navigation, where there are both direct links and drop-down menu links in your site’s top-level menu, you must create drop-down menus for the direct links.

  1. Use the admin menu to navigate to “Structure → Menus → PSU Primary Menu → Add Link” to create a menu link.

  2. Complete the form. There are a few things you’ll want to complete differently, though:

    • Menu link title: this text will display in the drop-down. You can use the same text as the currently existing direct link, or change it to something else that makes sense.

    • Link: start typing in the title of the currently existing direct link.

    • Parent item: select the currently existing direct link as the parent item. 

Redirects are custom URLs on your site that “redirect” a person to a different URL. They’re useful for creating user-friendly URLs for pages with long clunky URLs (such as Google Docs or PDFs) or important pages and documents that frequently change URLs. This prevents you from having to find every place where the old URL was in use; instead, you just need to update the redirect.

To make a redirect:

  1. Use the admin menu to navigate to “Configuration → Search and Metadata → URL Redirects”

  2. Select "Add redirect"

  3. Complete the form:

    • Path: this is the custom redirect URL. You’ll note your site URL is already added, you just need to enter the text that follows your site’s URL.

      • Example: the Policy Library has a redirect for the Prohibited Discrimination & Harassment Policy (pdx.edu/policies/pdhp). They entered pdhp into the Path text box.

    • To: this is the true destination URL.

    • Redirect status: Leave this as the default.

Do note that redirects sometimes take a few minutes to come into effect; wait a little bit before testing the redirect.

The URLs for each of your pages default to the page title. However, you can customize the URLs for landing pages and a few other page types. If a page you’re editing has that option, you’ll notice a "URL Alias" option on the right side of the page.

Provided the page you’re editing has that option, follow these instructions to customize the URL:

  1. Expand the URL Alias menu

  2. Deselect “Generate automatic URL alias” - this is the option that defaults the URL to the page title.

  3. Enter the new end to your page’s URL; this is just the text that appears after your site’s URL starting with a forward slash.

    • Example: you want your page titled About Us (defaulting to /about-us) to just end in “about”. You would enter /about for the URL alias.

Please note: your URL Alias cannot end with the same text as a site URL or top-level page. For example, pdx.edu/research (site) exists, as does pdx.edu/transfer-student (top-level URL). So you cannot create a custom URL that ends in /research or /transfer-student.

  • No labels