discuz伪静态规则的问题
使用了discuz目录化伪静态规则,安装了百度数据结构提交插件。百度站内搜索的链接伪静态是www。mokeba。net/thread-4241-1-1.html这种形式,我网站的www。mokeba。net/discuzmb/m4231/这种形式才可以访问。不知道百度为什么抓取了http://www。mokeba.net/thread-4241-1-1.html这中形式。求解答
下面是伪静态规则:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^.*/(.+).php$ $1.php?%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^type-(\w+)-(+)-(+)\.html$ forum.php?mod=forumdisplay&fid=$1&typeid=$2&typeid=$2&filter=typeid&page=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^sort-(\w+)-(+)-(+)\.html$ forum.php?mod=forumdisplay&fid=$1&sortid=$2&sortid=$2&filter=sortid&page=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^category-(+)\.html$ forum.php?gid=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^tag\.html$ misc.php?mod=tag&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^tag-(thread|blog)-(+)-(+)\.html$ misc.php?mod=tag&id=$2&type=$1&page=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^tag-(+)\.html$ misc.php?mod=tag&id=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&topic=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^article-(+)-(+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^group-(+)-(+)\.html$ forum.php?mod=group&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^blog-(+)-(+)\.html$ home.php?mod=space&uid=$1&do=blog&id=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^archiver/(fid|tid)-(+)\.html$ archiver/index.php?action=$1&value=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(\w+)/m(+)/(+)/?$ forum.php?mod=viewthread&tid=$2&extra=page\%3D1&page=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(\w+)/m(+)/?$ forum.php?mod=viewthread&tid=$2&extra=page\%3D1&page=1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(\w+)/(+)/?$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(\w+)/?$ forum.php?mod=forumdisplay&fid=$1&page=1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(+*)-(+)\.html$ plugin.php?id=$1:$2&%1
你所使用的伪静态规则应该进行修改!而不是使用默认的URL规则! 技术帮助 发表于 2015-1-30 19:31
你所使用的伪静态规则应该进行修改!而不是使用默认的URL规则!
怎么修改啊 按下面的操作提示操作!
页:
[1]