Hi all, this issue hurts my brain.
On many modern sites I see this pattern, but haven't figured out how to do it with modx yet.
Say I have a user who clicks on a link on Facebook with the following url: mysite.com/event/3rf78gh9 they will, with my mod_rewrite rule hit a page more commonly known as
This works with the following Rewrite_rule.
RewriteRule ^event/([^/]+)/?$ event/?eventId=$1 [L]
My scenario is of cause a bit more complex then this, and I would really like to be able to also do the following:
Which should translate to
Where id 24 is messages
However i can't figure out how to create that type of mod_rewrite rule, please come up with suggestions for this.
Now being a perfectionist I would also like to have my links generated with the same rules. Eg.
Is it even possible with modx