在apache的 host.conf 泛解析加入下面格式
DocumentRoot D:/www/www.××××××.com/company/
ServerName destoon.com
ServerAlias *.destoon.com
RewriteEngine On
ErrorDocument 404 /404.php
RewriteRule ^(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ /404.php
RewriteRule ^(.*)/([a-z]+)/(.*)\.shtml$ $1/$2/index.php?rewrite=$3
后台seo优化
公司主页绑定二级域名 .xxxxx.com
泛解析绑定目录 /company/
解析*.xxxx.com
新建绑定指向目录 /company/ 如果改过模块名称这里指向名称文件夹 OK