Magnolia 5.5 reached end of life on November 15, 2019. This branch is no longer supported, see End-of-life policy.
...
Advanced Tables - Table Plus | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
|
Info | ||
---|---|---|
| ||
Always test your regex-based virtual URI configurations thoroughly before applying them to a live environment. The configurations that seem correct on the surface can yield unwanted results. For example, using boundary matchers (the hat |
Take requested page name and pass it as a productId
request parameter to a product detail page.
Advanced Tables - Table Plus | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
|
The pattern [0-9a-9AzA-Z-]
in fromUri
means "any single character in the range of 0-9 or a-z or A-Z or the character -
literally". The plus character makes this a greedy pattern that matches one or more of the preceding token, and will match as many characters as possible before satisfying the next token. By enclosing the pattern in parentheses we create a capturing group ([0-9a-9AzA-Z-]+])
which can be referenced in the toUri
using $1
.
...
Module | Edition | Mapping class | From (Site) | To |
---|---|---|---|---|
activation | CE, EE |
( This is an old mapping and | /ActivationHandler | forward:/.magnolia/activation |
(Author Instance) | EE |
| / | redirect:/.magnolia/admincentral |
(Author Instance) | CE |
| / | redirect:/.magnolia/admincentral |
(Public Instance) | EE |
| / | redirect:/travel.html |
(Public Instance) | CE |
| / | redirect:/travel.html |
google-sitemap | CE, EE |
| redirect:/sitemaps | |
rssaggregator | CE, EE |
| /rssFeeds/(.*) | redirect:/rss/?feedPath=/$1 |
rssaggregator | CE, EE |
| /planetFeeds/(.*) | redirect:/rss/?feedPath=/$1&generatorName=planet |
rssaggregator | CE, EE |
|
| redirect:/rss/?generatorName=category&categories=$1&siteRoot=/$2 |
tours | CE |
|
| forward:/travel/tour?tour=$1 |
tours | EE |
|
( | forward:/tour?tour=$1 |
tours | EE |
|
( |
|
/products/([0-9a-zA-Z-]+)\.html