<?php
$uri = 'relative/uri/to/resource.html';
if (array_key_exists($uri, $this->aliasMap)) {
$modx->sendForward($this->aliasMap[$uri]);
}
Hello!
Is there any way to add to the generation of the Friendly URLs my own get parameters?
So that the URLs have something like this:
http://example.com/examplepage/customID-654/page-5.html
So it translates to this:
loading a resource of name "examplepage" (just like regular FURL)
And in $_GET we got this:
$_GET["customID"]=654
$_GET["page"]=5
Is that possible?