background preloader

Url (module[3] drupal[2])

Facebook Twitter

URL list. Path: readable URLs. The core Path module lets you optionally create URL aliases for your Drupal pages.

Path: readable URLs

By default, Drupal automatically creates web addresses like which are not user- or search engine-friendly. Search engines will give better rankings to pages that have more human-friendly URLs, especially if they include relevant keywords - for instance, Uses As an administrator you can : Pathologic. Pathologic is an input filter which can correct paths in links and images in your Drupal content in situations which would otherwise cause them to “break;” for example, if the URL of the site changes, or the content was moved to a different server.


Pathologic can also solve the problem of missing images and broken links in your site’s RSS feeds. See more example use cases on the documentation page. Pathologic is designed to be a simple, set-it-and-forget-it utility. You don't need to enter any special “tags,” path prefixes, or other non-content noise into your content to trigger Pathologic to work; it finds paths it can manage in your content automatically. As Pathologic is an input filter, installation and configuration is a little more difficult than it is for a standard module — but it's still not that tough, if you follow the full installation and configuration guide here. Pathauto. 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. Requirements. Marek Pisch - Web Developer in Calgary, Alberta. In previous blog post I've introduced Pathauto Drupal module.

Marek Pisch - Web Developer in Calgary, Alberta

Today I'm going to have a look how to configure it and how to achieve my goal having blog post URLs something like blog/2011/drupal-7-module-pathauto. Path auto module is installed and enabled in my Drupal 7 installation. As mentioned in other blog post I had to have Token module installed prior as well. Global Redirect. What?

Global Redirect

GlobalRedirect is a simple module which… Checks the current URL for an alias and does a 301 redirect to it if it is not being used.Checks the current URL for a trailing slash, removes it if present and repeats check 1 with the new request.Checks if the current URL is the same as the site_frontpage and redirects to the frontpage if there is a match.Checks if the Clean URLs feature is enabled and then checks the current URL is being accessed using the clean method rather than the 'unclean' method.Checks access to the URL. If the user does not have access to the path, then no redirects are done.

This helps avoid exposing private aliased node's.Make sure the case of the URL being accessed is the same as the one set by the author/administrator. For example, if you set the alias "articles/cake-making" to node/123, then the user can access the alias with any combination of case.Most of the above options are configurable in the settings page. Why? How? Anything I Should Know? Redirect. Work in progress for a Drupal 7 integration and collaboration between redirection-type modules: Current features: Common API for loading, saving, and deleting redirects.Case-insensitive redirect matching with a hook to allow other modules to narrow-down the candidate redirects.Redirect counter and last used timestamp, with automatic cleanup of inactive redirects.Integration with Drupal's page cache to optimize redirects and performance.Complete individual redirect access API.Views API integration.


Path redirect. This module allows you to specify a redirect from one path to another path or an external URL, using any HTTP redirect status.

Path redirect

#D7CX: I pledge that Path redirect will have a full Drupal 7 release on the day that Drupal 7 is released. Note that the project has moved to for Drupal 7. How can you get involved? Start helping with the planning for getting redirection functionality in core. See #133552: Add path redirection (aka integrate Path Redirect into core).Write a review for this module on drupalmodules.comHelp translate this module at any bugs, feature requests, etc. in the issue tracker Recommended Modules: Pathauto can be configured to automatically generate path redirects to ensure that URL alias changes do not break existing links.Elements so that you can fully enjoy the redirect administration screen with checkboxes, a select-all checkbox, and bulk operations. Token. Tokens are small bits of text that can be placed into larger documents via simple placeholders, like %site-name or [user].


The Token module provides a central API for modules to use these tokens, and expose their own token values. Note that Token module doesn't provide any visible functions to the user on its own, it just provides token handling services for other modules. For Drupal 6, the Token module provides a "Token Actions" module which can be enabled separately. This provides several "actions" for the Drupal core Actions/Trigger modules to use that take advantage of the Token replacement functionality.

Modules that use the Token module and provide tokens via the API include Organic Groups, Pathauto, Comment Notify, and Commerce. Pledges.