1 |
85ad3d82
|
Assos Assos
|
**Installation:
|
2 |
|
|
|
3 |
|
|
Pathauto is an extension to the path module, which must be enabled.
|
4 |
|
|
|
5 |
|
|
Pathauto also relies on the Token module, which must be downloaded and
|
6 |
|
|
enabled separately.
|
7 |
|
|
|
8 |
|
|
1. Unpack the Pathauto folder and contents in the appropriate modules
|
9 |
|
|
directory of your Drupal installation. This is probably
|
10 |
|
|
sites/all/modules/
|
11 |
|
|
2. Enable the Pathauto module in the administration tools.
|
12 |
|
|
3. If you're not using Drupal's default administrative account, make
|
13 |
|
|
sure "administer pathauto" is enabled through access control administration.
|
14 |
|
|
4. Visit the Pathauto settings page and make appropriate configurations
|
15 |
|
|
For 5.x: Administer > Site configuration > Pathauto
|
16 |
|
|
For 6.x: Administer > Site building > URL alias > Automated alias settings
|
17 |
|
|
|
18 |
|
|
**Transliteration support:
|
19 |
|
|
If you desire transliteration support in the creation of URLs (e.g. the
|
20 |
|
|
replacement of Á with A) then you will need to install the Transliteration
|
21 |
|
|
module, which can be found at http://drupal.org/project/transliteration
|
22 |
|
|
|
23 |
|
|
Once you've installed and enabled the module, simply go to
|
24 |
|
|
admin/config/search/path/settings and check the "Transliterate prior to
|
25 |
|
|
creating alias" box and path aliases should now be transliterated automagically.
|
26 |
|
|
|
27 |
|
|
**Upgrading from previous versions:
|
28 |
|
|
If you are upgrading from Pathauto 5.x-1.x to 5.x-2.x (or 6.x-2.x) then you
|
29 |
|
|
will probably need to change your patterns.
|
30 |
|
|
|
31 |
|
|
For content patterns:
|
32 |
|
|
[user] is now [author-name]
|
33 |
|
|
[cat] is now [term]
|
34 |
|
|
|
35 |
|
|
There may be other changes as well. Please review the pattern examples on
|
36 |
|
|
Administration > Site Configuration > Pathauto
|
37 |
|
|
|
38 |
|
|
If you upgraded from Pathauto 5.x-1.x directly without enabling Token
|
39 |
|
|
first then you will need to
|
40 |
|
|
1) download/install the Token module
|
41 |
|
|
2) disable the Pathauto module
|
42 |
|
|
3) re-enable the Pathauto module
|
43 |
|
|
|
44 |
|
|
Upgrade to 6.x:
|
45 |
|
|
Note that the settings page has moved so that it is more logically grouped with
|
46 |
|
|
other URL alias related items under
|
47 |
|
|
Administer > Site building > URL alias > Automated alias settings
|