资源说明:Virtual Aliases is a plugin which, as the name implies, allows multiple aliases to be defined for a single MODx document. The virtual aliases will be permanently redirected (301 redirect) to the document's actual alias. This plugin is useful because it allows any existing links to be gracefully redirected when porting sites from another CMS to MODx or for changing a site's organizational structure.
h1. NOTE: Please go here for latest version https://github.com/Nicola1971/Virtual-Aliases --- h3. Original Author: Brian Stanback h2. Installation * To install, first download the plugin code below. * Create a new plugin within the MODx manager and copy and paste the contents of the downloaded code. * Check the *OnPageNotFound* box in the System Events tab. * Add the following to the plugin configuration: pre. &aliasesTV=Aliases TV name;string;Aliases * Finally, create a new Template Variable (TV) named "*Aliases*" with the following option: pre. Input Type: Textarea *Note:* New aliases should each be added on a separate line. Omit any leading or trailing slashes as well as the default suffix (usaully .html)
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。