Answer the question
In order to leave comments, you need to log in
How to write such a regular expression under htaccess?
Hey!
Let's say there is such a link example.ru/mypanel/unit/orders/then/.../end/
under a separate folder "mypanel".
htaccess should direct it to /mypanel/index.php?page=&1&target=&2
,
where $1 is "unit" from the example and $2 is everything after "unit" i.e. "orders/then/.../end"
I don't know if this is a simple expression or a complex one. Can anyone help?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question