Drupal Pathauto is yet another wonderful Drupal module that reduces the manual effort by automatically generating the path for various types of contents available such as nodes, users, terms, taxonomy, etc. The various versions available for download, the basic requirements and other related and recommended modules for Drupal Pathauto are detailed below for a clearer understanding of the module.
In order to generate the path aliases, the Drupal Pathauto Module uses a pattern system that in turn utilizes tokens. Therefore, Tokens has become a requirement for the Drupal Pathauto Module. Tokens are nothing but the smaller text bits that can placed into larger documents through placeholders. The Token Module integrates with all the Drupal modules that require tokens as this module renders a central API.
In order to start working with the module you have to decide on the version of the Pathauto Module. The versions available for download are listed below:
- Pathauto – 7.x-1.2.tar.gz and Pathauto-7.x1.2.zip are available at https://drupal.org/node/1721024.
- Pathauto-6.x-1.6.tar.gz and Pathauto-6.x-1.6.zip are available at https://drupal.org/node/1327404.
All you have to remember before opting for a particular version is that the 6.x-1.x version is feature locked and that the bugs alone can be fixed. But the versions 7.x-1.x and 6.x-1.x are still active accepting the new requests for feature changes.
Modules Recommended for Pathauto
Some of the modules that recommended with respect to the Drupal Pathauto Module are listed and briefly detailed below:
- Path Redirect: The Path Redirect is for Drupal 6 and as the name states the module redirects a specific path from one URL to another URL. For the users of Drupal 7, there is a latest version of this module in the name “Redirect” which is still under work in progress.
- Global Redirect: The Global Redirect module redirects all your users to your content through one of the best and clean URLs possible. Remember that in the process the old URL doesn’t get deleted. The module also checks for the aliases of a specific URL and redirects them to 301 error page if that URL is not being used.
- Pathologic: The Pathologic Module is a Drupal Module that can help you by acting as an input filter for the images and links in your Drupal content and avoids them from breaking. It should be noted that the Pathologic module is not tested but sounds helpful in updating the links that are outdated in the existing content.
- Sub-path URL Aliases: The Sub-path URL Aliases is a Drupal Path Module that only accepts the URLs in full which is actually advantageous with respect to the SEO friendly nature. Through this module you make use of a single URL as an alias for many other URLs. Note that the Sub-path URL Aliases is designed for Drupal 6 and the “Sub-path Auto” Module for Drupal version 7.
- Transliteration: The Transliteration is a module that helps you to convert all your content that is outside the ASCII 128 to ASCII 128. The Transliteration Module also assures the deletion of all the unwanted characters and spaces in your content file names.
Basics of Pathauto
Some of the basic tabs and their functionalities along with the default path generations in the two different versions are detailed below:
The Pathauto pattern for the while generating the aliases of objects would be as follows:
- For Version 6.x: Administer > Site Building > URL Aliases under the “Automated alias settings” tab.
- For Version 7.x: Administer > Configuration > search and Metadata > URL Aliases under the “Patterns” tab.
Tabs and Descriptions
The important most commonly used tabs are listed below:
- Pattern Tab: The Pattern tab automatically generates the aliases for the various content types available in your Drupal site. By default the Pattern tab offers various patterns.
- Settings Tab: The Settings tab allows you to change the settings such as the length and the case. The tab also permits you to decide on the position of an alias i.e., whether to the alias should be added to the list or replaced.
- Bulk Update Tab: The Bulk update tab allows you to generate the path (on demand) for the content that is not aliased.
- Delete Tab: The Delete tab is used to delete aliases in a large way.
Thus Drupal Pathauto saves both time and energy by providing the path aliases through automated generations. Simply download, install and activate the Drupal Pathauto Module according to your version and start working with it by creating aliases for URLs easily in an automated manner.