Hello . There are rules at the beginning of hitas
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteCond %{ENV:REDIRECT_STATUS} !^$ RewriteRule .* - [L] I can not understand thoroughly what they do, but when I put after
RewriteCond %{HTTP_HOST} (www\.)?(.*)\.сайт\.ru$ RewriteRule ^(.*)(/(.*)/)?$ index.php?smgeo=%2 [L] then this code does not want to work.
Specifically: I have dynamic subdomains for cities, etc. I want to get the value of geo - position.
Explain to the amateur, why I can get the value only when I put the rule before the current + when entering the subdomain, in this case, the styles are lost.
Thank you =))