Somehow i could nowhere find a solution how to convert
https://example.com/api/command
to
https://example.com/api?command
in a .htaccess-file. Anyone a quick solution to this? It should only internally redirect.
Here what does not work:
RewriteEngine On
RewriteRule ^api/(.*)?$ api?$1 [NC,QSA]