将后台的根目录文件夹中的.htaccess文件添加内容为:
RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.test\.com$ [NC] RewriteRule ^(.*)$ http://xxx.test.com [R=301,L]
上一篇:PHP中实现无级递归分类的方法有哪些
下一篇:如何在php中安装dblib扩展并连接mssql