Answer the question
In order to leave comments, you need to log in
How to make double rewrite base?
Greetings to all.
There is such a .htacces file:
RewriteBase /
RewriteEngine On
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php?q=$0 [QSA,L]
Answer the question
In order to leave comments, you need to log in
Hello!
The answer to your question is elementary, so point by point:
1.Go to the CMS folder
2.Create the .htaccess file
3.Write the following code there
RewriteBase /cms/
RewriteEngine On
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php?q=$0 [QSA,L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question