Combine “folder as GET parameter” and “subdomain as GET parameter”
问题 I have a site that rewrites path after domain to a page GET parameter. ##REWRITING DIRECTORIES TO GET PARAMETERS RewriteBase / #Ignore all real directories (do not rewrite them) RewriteCond %{REQUEST_FILENAME} !-d #Also do not rewrite real files RewriteCond %{REQUEST_FILENAME} !-f #For everything else, index.php should fetch the proper content RewriteRule ^([^/]*)$ index.php?page=$1 [QSA,L] ##This means: #example.com/help #~becomes~ #example.com?page=help The site uses multiple languages and