<?php $tsql=$empire->query("select * from {$dbtbpre}enewstags order by num desc"); while($tr=$empire->fetch($tsql)){ ?> <a href="/tag/<?=$tr['path']?>.html" target="_blank"><?=$tr['tagname']?></a> <? } ?>
.htaccess文件代碼
RewriteEngine On RewriteBase / RewriteRule ^(.*)tag/(.+)_([0-9]+).html$ $1/e/tags/?path=$2&tempid=11&page=$3 RewriteRule ^(.*)tag/(.+).html$ $1/e/tags/?path=$2&tempid=11
最后輸出的偽靜態(tài)地址為:http://127.0.0.1/tag/baoru.html
版權(quán)聲明: 本站資源均來(lái)自互聯(lián)網(wǎng)或會(huì)員發(fā)布,如果侵犯了您的權(quán)益請(qǐng)與我們聯(lián)系,我們將在24小時(shí)內(nèi)刪除!謝謝!
轉(zhuǎn)載請(qǐng)注明: 帝國(guó)TAGS標(biāo)簽偽靜態(tài)調(diào)用+偽靜態(tài)規(guī)則教程