Set aliases for each node in Drupal

Source: Internet
Author: User
Tags drupal
Drupal uses a node to represent the content by default. node is the most basic page element in Drupal. Almost all content can be called node. Of course, its URL is not friendly. The default format is as follows:

Http: // yourdomain/node/37

This type of URL does not clearly understand the nature of the page. It is best to set a regular alias for the page (alias ).
To enable Drupal to rewrite the URL aliases function, activate the path module in the management background and install the pathauto module. The effect before installation is shown in:

After the installation is complete, go to Home> administer> site building> URL aliases and you will be able to see an additional page of the "Automated alias Settings" option, modify the URL alias settings. The effect after installation is shown in:

When we have customized the rule to generate aliases, remember to check the following options:

Bulk generate aliases for nodes that are not aliased

To delete a category of aliases, go to Home> [...]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.