.htaccess htaccess将子域重定向到一个页面
我需要帮助。 我想使用htaccess重定向我的所有子域 比如说,.htaccess htaccess将子域重定向到一个页面,.htaccess,redirect,subdomain,.htaccess,Redirect,Subdomain,我需要帮助。 我想使用htaccess重定向我的所有子域 比如说, myRootDomain | |- subdomain1 | |- page1.php | |- subdomain2 | |-page2.php | |- sdomain.php 如果这是我的域层次结构,那么我想在htaccess中编写表达式,将subdomain1、subdomain2的所有请求重定向到sdomain.php。这可能会有所帮助 …如果有人理解他,请翻译?据我所知,他想使用htacces
myRootDomain
|
|- subdomain1
| |- page1.php
|
|- subdomain2
| |-page2.php
|
|- sdomain.php
如果这是我的域层次结构,那么我想在htaccess中编写表达式,将subdomain1、subdomain2的所有请求重定向到sdomain.php。这可能会有所帮助
…如果有人理解他,请翻译?据我所知,他想使用htaccess重定向子域。