Answer the question
In order to leave comments, you need to log in
How to set up a redirect to a subdirectory?
Good afternoon! I can't figure out why it doesn't work. The framework is in the system subfolder, the files of the rest of the site are in the root. How to configure htaccess correctly? Wrote like this:
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ /system/index.php?path=$1 [NC,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