[Solved] htaccess filename.php?name=category to subdomain category.domain.com


Thanks Ali Arshad,

It’s work with:

RewriteCond %{HTTP_HOST} ^[^\.w{3}]+\.domain.com$
RewriteRule ^$ %{HTTP_HOST} [C]
RewriteRule ^([^\.w{3}]+)\.domain\.com$ filename.php?name=$1

I am very grateful, because it has helped me find a solution.

0

solved htaccess filename.php?name=category to subdomain category.domain.com