2017-04-24 75 views

回答

0

希望這會幫助你,因爲它是爲我工作。

Check this .htaccess code here

RewriteEngine on 
RewriteCond %{HTTP_HOST} ([a-z]+)\.(example\.com) #checking domain and subdomain 
RewriteRule ^(.*)$ https://www.%2/%1 [R=301,L] #redirecting 
相關問題