Mouth
Well-known member
Looking at the Route Filter functionality ( /admin.php?route-filters/ ), I'm wondering if this can be used with wildcard content ID's? I'm finding its accompanying description confusing, I think;
"The find and replace fields support wildcards in the format of {name}, with a unique name. The same wildcards should be found in both fields. To limit the wildcard to digits, use {name:digit}; to limit to a string, use {name:string}; {name} will match anything but a forward slash."
Therefore, can I have;
Find Route: /xfa-blogs/{name}/
Replace With: /blogs/author/{name}/
.. and have an incoming URL of /xfa-blogs/user.56051/ redirected to /blogs/author/user.56051/
Another example;
Find Route: /xfa-blog-entry/{name}/
Replace With: /blogs/{name}/
.. and have an incoming URL of /xfa-blog-entry/pre-learner-anxiety.331/ redirected to /blogs/pre-learner-anxiety.331/
"The find and replace fields support wildcards in the format of {name}, with a unique name. The same wildcards should be found in both fields. To limit the wildcard to digits, use {name:digit}; to limit to a string, use {name:string}; {name} will match anything but a forward slash."
Therefore, can I have;
Find Route: /xfa-blogs/{name}/
Replace With: /blogs/author/{name}/
.. and have an incoming URL of /xfa-blogs/user.56051/ redirected to /blogs/author/user.56051/
Another example;
Find Route: /xfa-blog-entry/{name}/
Replace With: /blogs/{name}/
.. and have an incoming URL of /xfa-blog-entry/pre-learner-anxiety.331/ redirected to /blogs/pre-learner-anxiety.331/