Pathauto automatically generates user-friendly URL aliases for your content based on customizable patterns. This means instead of cryptic URLs like /node/123, you can have clean URLs such as /category/my-node-title. It supports nodes, taxonomy terms, and users, and can be configured to integrate with other modules for improved SEO and link management.
The Pathauto module automatically generates URL/path aliases for various kinds of content (nodes, taxonomy terms, users) without requiring the user to manually specify the path alias. This allows you to have URL aliases like /category/my-node-title instead of /node/123. The aliases are based upon a "pattern" system that uses tokens which the administrator can change.
Drupal 8+ Requirements
- Token
- CTools, removed in 8.x-1.11, still required in composer.json for BC reasons, see release notes for more information.
Drupal 7 Requirements
Known issues
- D7: Multilingual URL alias support is still a little unstable and should be tested before used in production. See this issue in core #269877: path_set_alias() doesn't account for same alias in different languages which is very important and needs more coders/testers/reviewers. There is also a list of issues related to i18n in Pathauto which needs someone to help triage, test, review, and write fixes.
Recommended modules
- Redirect (D7, D8) when installed Pathauto will provide a new "Update Action" in case your URLs change. This is the recommended update action and is considered the best practice for SEO and usability.
- Sub-pathauto (D7, D8) provides a way to use one alias for multiple URLs as long as the so that "node/1" is aliased to "about-my-site" then you can use "about-my-site/edit" to access "node/1/edit". Neat!
- Global Redirect (D7) ensures that your content is only visiable at the one, best URL possible (i.e. requests for node/2 are forwarded to "alias-for-node-2"). This is part of Redirect in D8.
- Pathologic (untested, but may help with updating outdated links in existing content)
- Transliteration (D7) is useful if your site is likely contain characters beyond ASCII 128 and you want them transliterated into ASCII 128. In Drupal 8, Pathauto uses the API provided by Drupal core.
Co-Maintainers
Pathauto was originally written by mikeryan and maintained by Greg Knaddison (greggles). It is currently co-maintained by Frederik 'Freso' S. Olesen and Dave Reid.
The Drupal 8 version is maintained by Sascha Grossenbacher (Berdir).
Credits: Logo by Nico Grienauer (Grienauer).
Depends on
Dependencies of the latest stable release
- Token
- path Drupal core
Required by
32 tracked projects depend on this one
- Moderated Content Bulk Publish 11,089 sites
- Views Taxonomy Term Name Depth 7,625 sites
- Facets Pretty Paths 6,801 sites
- Next.js 3,639 sites
- Acquia Drupal Starter Kit Common 1,855 sites
- LocalGov Services 523 sites
- LocalGov Directories 502 sites
- LocalGov News 486 sites
- LocalGov Publications 358 sites
- Pathauto Update 265 sites
- Civictheme 218 sites
- Droopler 212 sites
- Pathauto entity parent 141 sites
- Seeds SEO 115 sites
- Menu vs URL Alias 100 sites
- Dropsolid Rocketship Core 98 sites
- Camp CT with Layout Builder for YMCA Website Services 90 sites
- Taxonomy Facets 82 sites
- Pathauto export 80 sites
- Entity Slug 72 sites
- Unique Alias Checker 70 sites
- Page tree 69 sites
- Varbase Media Demo Assets 46 sites
- URL Slug 28 sites
- Pathauto Conditions UI 27 sites
- DiBa Integration 7 sites
- Kordiam 6 sites
- OpenFed 6 sites
- Orange DAM 6 sites
- Node Swapper 4 sites
- Desk-Net
- Pathauto Multilingual