Answer the question
In order to leave comments, you need to log in
Is it possible to create your own "variable" in htaccess?
# Что бы не приходилось добавлять во всех правилах новые локализации (en|de|и т.д)
RewriteRule ^(en|de|и т.д)/$ index.php [L,QSA]
# а добавлять в одну «переменную» их, что то подобное
LANG = en|de|и т.д
RewriteRule ^(LANG)/$ index.php [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