百度
360搜索
搜狗搜索

Discuz伪静态 配置搜索引擎优化(URL重写) apache配置详细介绍

apache下Discuz配置搜索引擎优化(URL重写)的方法,需要的朋友可以参考下。

在apache配置文件中设置

<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(.*)/archiver/((fid|ti<strong class="vbiMfnwOV"><a href="http:///ruanjian/android/" title="android">android</a></strong>d)-[\w\-]+\.<a href="http:///wangluo/csshtml/" title="html" target="_blank">html</a>)$ $1/archiver/index.<a href="http:///wangluo/php/" title="php" target="_blank">php</a>?$2 RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html$ $1/forumdisplay.php?fid=$2&page=$3 Rewri<u class="LjHbZp"><a href="http://" title="编程">编程</a></u>teRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/viewthread.php?tid=$2&extra=page\%3D$4&page=$3 RewriteRule ^(.*)/space-(username|uid)-(<span class="vbiMfnwOV"><a href="http:///ruanjian/android/" title="android">android</a></span>.+)\.html$ $1/space.php?$2=$3 RewriteRule ^/home/(space|network)-(.+)\.html$ /home/$1\.php\?rewrite=$2 RewriteRule ^/home/(space|network)\.html$ /home/$1\.php RewriteRule ^/home/([0-9]+)$ /home/space\.php\?uid=$1 RewriteRule ^(.*)/tag-(.+)\.html$ $1/tag.php?name=$2 </IfModule>

<script language="JavaScript">ffcod = delpost.r uncode1 .value; ffcod = ffcod.replace(/

/g,''); delpost.runcode1 .value = ffcod;</script> 提示:您可以先修改部分代码再运行

本文标题: Discuz伪静态 配置搜索引擎优化(URL重写) apache配置 ,

网站数据信息

"Discuz伪静态 配置搜索引擎优化(URL重写) apache配置"浏览人数已经达到52次,如你需要查询该站的相关权重信息,可以点击进入"Chinaz数据" 查询。更多网站价值评估因素如:Discuz伪静态 配置搜索引擎优化(URL重写) apache配置的访问速度、搜索引擎收录以及索引量、用户体验等。 要评估一个站的价值,最主要还是需要根据您自身的需求,如网站IP、PV、跳出率等!