Answer the question
In order to leave comments, you need to log in
How to redirect the right links to the right folder?
There is a login.php file, which lies in the modules folder, the login.html file is connected to it, which lies in the templates/name/login.html folder. "name" - template name. The template is switched in the admin panel. The login.html file contains links, for example, style.css, which are located in the name folder (templates/name). But, of course, when you open the login.php file, the links open like - site.com/css/style.css, etc. How do I redirect all links inside the login.html file to templates/name/.. without touching the login.html file. Moreover, given the template selected in the admin panel database. Is this somehow done in the php file? Or is it possible through RewriteRule?
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