Answer the question
In order to leave comments, you need to log in
How to correctly set the base locale in htaccess for localhost?
Suddenly got ambushed. There is a bilingual project. On hosting, it works great with the formation of English-language pages using the en/ pseudo-directory. However, on localhost, the same htaccess directives give errors and are not executed. Those. rules like this don't work:
RewriteRule ^en/(.*)$ http://localhost/site/$1 [QSA,L]
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