Site Building

Movie Project: Configure URL Aliases and User Permissions for Drupal 7

Last updated February 16, 2017
Categories
Up-to-date with minor version
7.x

Check your version

This tutorial covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

In this exercise you will create URL aliases for all content, and create user roles to allow logged-in users to create content.

Goal

Download, enable, and configure Pathauto module. Create a new user role for site contributors.

Prerequisites

You will need the following knowledge and skills. If you need a review, check out the Additional resources section at the bottom of this page.

  1. Create URL alias patterns for content.
  2. Practice creating paths to all content items.
  3. Use the user management tools within Drupal.

Wireframe reference

You will need to refer to the wireframe collection PDF.

Tasks

Install the Pathauto module.

Configure the URL patterns according to the wireframes.

Bulk update all previously created content.

Create a user role called Contributor that allows users with that role to add their own reviews and top ten lists.

Recap

  • Paths can be applied retrospectively to content.
  • The URL structure should be considered at the design stage.
  • Most security breaches are due to mismanaged user access settings.

Further your understanding

Additional resources

Creative Commons License

Drupal Training Resources by Damian Robinson are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at http://www.damianrobinson.co.uk.

Hands-On Exercises: Movie Project