问:刚才还好好的哦,帮看看伪静态怎么回事,换了主机出了点问题
答:您好,
测试您当前主机网站访问没有问题,但内页URL并没有静态化,您需要核实下程序是否开启了伪静态功能,非常感谢您长期对我司的支持!
问:http://www.ebcsite.com/archives/.html
http://www.ebcsite.com/top/www.gangmushiyantai.com
http://www.ebcsite.com/update/3-1.html
http://www.ebcsite.com/archives/0-6.html
http://www.ebcsite.com/archives/.html
http://www.ebcsite.com/article/jainzhan/161-1.html
http://www.ebcsite.com/webdir/jiaoyuxuexi/78-1.html
我是windows 虚拟主机转移到 Linux的,不知道是不是这个原因,弄一天了
问:# BEGIN
# 首页、分类浏览、数据归档、最近更新、排行榜、意见反馈
RewriteRule ^(index|webdir|weblink|article|category|update|archives|top|feedback|link|rssfeed|sitemap)(\\/?)$ index.php\\?mod=$1
# 最近更新
RewriteRule ^update\\/(\\d )$ index.php\\?mod=update&days=$1
RewriteRule ^update\\/(\\d )/(\\d )$ index.php\\?mod=update&days=$1&page=$2
# 数据归档
RewriteRule ^archives\\/(\\d )$ index.php\\?mod=archives&date=$1
RewriteRule ^archives\\/(\\d )/(\\d )$ index.php\\?mod=archives&date=$1&page=$2
# 站内搜索
RewriteRule ^search\\/(name|url|tags|intro)\\/(. )/(\\d )$ index.php\\?mod=search&type=$1&query=$2&page=$3
RewriteRule ^search\\/(name|url|tags|intro)\\/(. )$ index.php\\?mod=search&type=$1&query=$2
# 站点详细
RewriteRule ^siteinfo\\/(\\d )$ index.php\\?mod=siteinfo&wid=$1
# 文章详细
RewriteRule ^artinfo\\/(\\d )$ index.php\\?mod=artinfo&aid=$1
# 链接详细
RewriteRule ^linkinfo\\/(\\d )$ index.php\\?mod=linkinfo&lid=$1
# 单页
RewriteRule ^diypage\\/(\\d )$ index.php\\?mod=diypage&pid=$1
# RSS
RewriteRule ^rssfeed\\/(\\d )$ index.php\\?mod=rssfeed&cid=$1
# SiteMap
RewriteRule ^sitemap\\/(\\d )$ index.php\\?mod=sitemap&cid=$1
# 分类目录
RewriteRule ^webdir\\/(. )\\/(\\d )$ index.php\\?mod=webdir&cid=$2
RewriteRule ^webdir\\/(. )\\/(\\d )/(\\d )$ index.php\\?mod=webdir&cid=$2&page=$3
RewriteRule ^article\\/(. )\\/(\\d )$ index.php\\?mod=article&cid=$2
RewriteRule ^article\\/(. )\\/(\\d )/(\\d )$ index.php\\?mod=article&cid=$2&page=$3
# END
之前window虚拟主机是这样的
答:您好,伪静态规则的问题,.htaccess中规则,并没有与http://www.ebcsite.com/archives/.html相匹配的,添加附图一行规则后可以打开。请您联系程序技术获取apache下伪静态规则重新上传,非常感谢您长期对我司的支持!