سلام
من برای ایحاد ساب دومین از کد زیر در .htaccess استفاده می کنم ولی نمی دانم چرا خود url تبدیل شده را نمایش می دهد.
RewriteEngine On
# Extract the subdomain part of domain.com
RewriteCond %{HTTP_HOST} ^([^\.]+)\.domain\.com$ [NC]
# Check that the subdomain part is not www and ftp and...