fhqcel 发表于 2017-8-2 12:47:13

求教手机版伪静态问题

伪静态规则是根据官方提供的:

# Destoon B2B Rewrite Rules
ErrorDocument 404 /404.php
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ /404.php
RewriteRule ^(.*)/(admin|cache|editor|file|include|lang|module|skin|template)/(.*)\.php(.*)$ /404.php
RewriteRule ^(.*)-htm-(.*)$ $1.php?$2
RewriteRule ^(.*)ow-(+)([\-])?(+)?\.html$ $1ow.php?itemid=$2&page=$4
RewriteRule ^(.*)st-(+)([\-])?(+)?\.html$ $1st.php?catid=$2&page=$4
RewriteRule ^(.*)ow/(+)/(+)?([/])?$ $1ow.php?itemid=$2&page=$3
RewriteRule ^(.*)st/(+)/(+)?([/])?$ $1st.php?catid=$2&page=$3
RewriteRule ^(.*)/(+)-c(+)-(+)\.html$ $1st.php?catid=$3&page=$4
RewriteRule ^(.*)/(+)-(+)-(+)-(+)\.html$ $1/index.php?moduleid=$2&catid=$3&itemid=$4&page=$5
RewriteRule ^(.*)/(+)/(.*)\.shtml$ $1/$2/index.php?rewrite=$3
RewriteRule ^(.*)/com/(+)/(+)/(.*)\.html$ $1/index.php?homepage=$2&file=$3&rewrite=$4
RewriteRule ^(.*)/com/(+)/(+)([/])?$ $1/index.php?homepage=$2&file=$3
RewriteRule ^(.*)/com/(+)([/])?$ $1/index.php?homepage=$2

网站开启了URL Rewrite(伪静态);模块也设置了伪静态,服务器APACHE的,伪静态设置也没问题。PC版伪静态是正常的
但是手机版绑定了m.XXXXX.com后,内容页打不开了,提示Error Loading........看论坛上把伪静态规则复制一份到手机版目录下,问题依旧,总之各种方法都试了,服务器都换过了,手机版还是打不开内容页,取消域名绑定后就正常了......

请DESTOON大神指教啊........

fhqcel 发表于 2017-8-2 15:05:50


没人回先顶一下
页: [1]
查看完整版本: 求教手机版伪静态问题