Answer the question
In order to leave comments, you need to log in
Why doesn't it work when I change the url to something else?
Hello! I want to change the URL so that the browser has /site1/lp-admin/ and actually downloads /files/site1/lp-admin/
site1 from here - it can be anything (site2, habr, test123, etc.).
Did it like this:
RewriteRule ^/files/([A-z0-9]{3,20})/lp/admin/$ /$1/lp-admin/ [L] # или вместо [L] -> [QSA]
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