Answer the question
In order to leave comments, you need to log in
How to open the PU of each subdomain with dynamic subdomains?
Good day.
I create dynamic subdomains through the .htaccess file:
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.site\.ru$
RewriteCond %{HTTP_HOST} ^(.*)\.site\.ru$
RewriteRule ^(.*)$ https://site.ru/blog.php?user=%1 [L,P]
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