URL Path Settings

What is a URL Path?

The URL path is the path a browser will follow in your site's domain hierarchy to find a specific piece of content. 

Default URL Path Creation by Drupal

By default, SiteFarm is configured to generate a URL for your page when you create it and will place the link at the root of your domain name (i.e.: https://sitefarm.ucdavis.edu/mynewpage). This URL is based off the information you provide in the content type's Title field.

Why use URL Path Settings?

Using this setting allows you to do two things:

  1. Accurately reflect this page's relationship to other content in your site.
    Example: A user creates a new basic page and then system auto-generates a URL Path of:
    http://examplesite.ucdsitefarm.acsitefactory.com/labresources
    In reality, this page should be http://examplesite.ucdsitefarm.acsitefactory.com/research/resources/labresources
    Visitors would be able to get to the page content from either link, but the second will visually reflect its position in the site as a piece of content that lives under Research | Resources
  2. Updating your URL Path Settings will also update the page's breadcrumb trail, which improves your visitors' browser experience as it allows them to navigate to parent content with ease.
Create your own URL Pathway
  1. In the page whose URL pathway you want to change, look to the right side in the Additional Options panel.
  2. Click on the URL Path Settings section to expand it.
  3. Uncheck the Generate automatic URL alias box.
  4. The URL alias field will ungray, allowing you to type in your own URL. Make sure to begin the URL with a backslash (/) and separate words with a hyphen (-)
    Example
    Original: /this-is-the-original-url-pathway-name
    Updated: /new-pathway
    URL pathway settings.
  5. Scroll to the bottom of the screen and click Save to finish. Note: making this change will also result in your site automatically creating a redirect so people can find the new page if they have the old one bookmarked.