帝国tags伪静态教程
帝国tags伪静态链接修改代码最后伪静态链接为:/tag/xxx.html<?$a=$navinfor[infotags];$str=str_replace(&#39;,&#39;,&#39;,&#39;,$a);$tag=&#39;&#39;;$t=explode(",",$str);for($i=0;$i<count($t);$i++){if($t[$i]){……
帝国tags伪静态链接修改代码
最后伪静态链接为:/tag/xxx.html
<?$a=$navinfor[infotags];$str=str_replace(',',',',$a);$tag='';$t=explode(",",$str);for($i=0;$i<count($t);$i++){if($t[$i]){$tid=$empire->fetch1("selecttagid,pathfrom{$dbtbpre}enewstagswheretagname='$t[$i]'limit1");$tag.="<aclass='blue'href='/tag/$tid[path].html'target='_blank'>".$t[$i]."</a>";}}echo$tag;?>
httpd.conf伪静态规则
RegistrationName=LongshuiChenRegistrationCode=7Z3NU-7MAP5-JZDPH-PR9GK[ISAPI_Rewrite]CacheClockRate3600RepeatLimit32RewriteRule^(.*)/tag/(.+)_([0-9]+).html$$1/e/tags/?path=$2&tempid=11&page=$3[I]RewriteRule^(.*)/tag/(.+).html$$1/e/tags/?path=$2&tempid=11[I]
httpd.conf伪静态规则
RegistrationName=LongshuiChenRegistrationCode=7Z3NU-7MAP5-JZDPH-PR9GK[ISAPI_Rewrite]CacheClockRate3600RepeatLimit32RewriteRule^(.*)/tag/(.+)_([0-9]+).html$$1/e/tags/?path=$2&tempid=11&page=$3[I]RewriteRule^(.*)/tag/(.+).html$$1/e/tags/?path=$2&tempid=11[I]