Managing URL aliases using site sections

In larger sites, it can be difficult to keep track of the proper URL alias to use for a given page (the alias ideally should include all the parent pages in the hierarchy). To better manage the URLs, your webmaster can create Site Sections using the Site Section taxonomy terms, as explained further below.

Each of these taxonomy terms represents a particular section of your site, within which pages will share a common URL. Site sections can be nested within each other as well. If you choose to use this method, you should pick the appropriate Site Section from the dropdown on the node edit page rather than entering a URL manually. The URL will be automatically generated for you to include the correct path.

Define the Site Section taxonomy terms

  1. Navigate to Structure and then Taxonomy.
  2. In the table shown, find Site Sections and click on add terms.
  3. Enter the name of a section in the Name field. For example, "Example Section".
  4. Click on Save.
  5. Repeat these steps for all other site sections you wish to add.

Create a Basic Page and select the appropriate site section

  1. Navigate to Content.
  2. Click on Add content and then select Basic Page.
  3. Provide a title for your page in the Title field, make sure that the box "Automatically generate a path" under Path Settings is selected, and enter some text in the Body field.
  4. Near the bottom of the page, under Page Section, select the site section to which the page belongs.
  5. Once done, enter a revision log message and save your changes.
  6. If you verify your page, the path should now automatically take the form of "site-section/page-name".
sections de site


» Submit feedback
  • Accepted
  • Support
  • User Guide
Back to top