我想知道如何在我的网站上配置.htaccess文件,以便example.com/subdomain/abc转到subdomain.example.com/abc。
example.com/subdomain/abc
subdomain.example.com/abc
此外,我希望example.com/subdomain转到subdomain.example.com
example.com/subdomain
subdomain.example.com
RewriteEngine开启RewriteRule ^父页面/。 / subdomain / parent-page [R = 302,L]