Make shortened and long urls play together on the same domain (RewriteRule).
- by Renato Renato
Long story short, I want to have both example.com/aJ5 and example.com/any-other-url working together.
I'm using apache and not very good at writing regex.
I have already a global RewriteRule which sends everything to the app entry point.
What I need is to tell apache if length($path) is <= 5 chars then rewrite to another location.
I know I can…