I am trying to create a rewrite rule on a Laravel proyect route, the most simple approach should be like:
RewriteEngine On RewriteRule ^@([^/]+)$ /someurl/$1
However, while trying this on a nginx server, it does not seem to be quote the solution.
Do you know a better approach for this?
I would like to achieve creating a nice URL with an @ sign that could point to another route, for vanity purposes.
New contributor
Mario Moreno is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.