I need to rewrite the rule for my url according to this pattern:
Starting url :
https://example.com/path/¶m1=1¶m2=2
Destination url:
https://example.com/file.php?param1=1¶m2=2
I therefore need to get everything that comes after the & character.
I know it's poorly formed the starting url and that the ? would be needed, but unfortunately I have this pattern to follow. I tried this but I can't get the & character.
RewriteRule ^path([&])$ file.php?$1 [L]
Do you have any ideas?