Path

Switch on module path to change your URLs from node/122 to australia/sydney.

  1. Log on as administrator.
  2. Go to administer > modules and switch on Path.
  3. Visit a page that has a URL in the form node/123.
  4. Click the Edit link.
  5. You will see a new data entry box labelled Path Alias:. Type in the alias code_filter. The alias can be structured, A structured example is technology/web_sites/content_management_systems/drupal/modules/code_filter.
  6. Click Submit.
  7. You should now be viewing a page with the URL http://petermoulding.com/code_filter
  8. Visit administer > url aliases. You will see a new page for bulk editing of URL aliases. The columns are labelled Alias and System. You can sort the list by either column.
  9. View database table url_alias in phpMyAdmin or equivalent. You will see columns labelled pid, dst and src. dst and src are the two values shown in administer > url aliases.
  10. Visit administer > access control. You will see two new permissions under the heading path module. administer url aliases controls access to administer > url aliases. create url aliases decides who will see the Path Alias: entry box when editing pages.

Experiment with the URLs. You can have multiple aliases for a page and that is explained in the help text for module path. I have multiple entries for some pages because some pages were originally displayed using URLs of the form node/123 and then became taxonomy_menu/5/3 when I started using the taxonomy_menu module.