Name

AliasTable — specify table containing page aliases ("redirect" instructions)

SYNOPSIS

table_name

DESCRIPTION

The directive specifies Interchange table that contains page aliases (default table name is alias).

This way, flypages can be aliased and redirected to different locations without performing file lookup cycles.

Primary applications include content management and creation of pseudo-paths. See the section called “EXAMPLES”.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Defining AliasTable

Database alias alias.txt TAB
AliasTable alias

Example: Creating AliasTable database

base_page	real_page
4595	index

In our example, page 4595.html redirects back to the index page.

You might notice that the field names and values above are not properly aligned. This is the nature of tab delimited files.

To minimize the chance of confusion, you can download properly composed example file alias.txt.


NOTES

AVAILABILITY

AliasTable is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 621

['AliasTable',      undef,            ''],

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!