【帝国cms网站搬家到阿里云下用的nginx怎么配置伪静态】教程文章相关的互联网学习教程文章

帝国CMS伪静态【代码】

nginx伪静态设置rewrite ^([^\.]*)/listinfo-(.+?)-(.+?)\.html$ $1/e/action/ListInfo/index.php?classid=$2&page=$3 last; rewrite ^([^\.]*)/showinfo-(.+?)-(.+?)-(.+?)\.html$ $1/e/action/ShowInfo.php?classid=$2&id=$3&page=$4 last; rewrite ^([^\.]*)/infotype-(.+?)-(.+?)\.html$ $1/e/action/InfoType/index.php?ttid=$2&page=$3 last; rewrite ^([^\.]*)/tags-(.+?)-(.+?)\.html$ $1/e/tags/index.php?tagname=$2&pag...

帝国cms网站搬家到阿里云下用的nginx怎么配置伪静态【图】

帝国的 .htaccess 文件是这样的。 搬到阿里云。求nginx 怎么配置。 网上的教程弄了没有用。。求有经验的大神指点下、谢谢了 回复内容: 帝国的 .htaccess 文件是这样的。 搬到阿里云。求nginx 怎么配置。 网上的教程弄了没有用。。求有经验的大神指点下、谢谢了 rtrewrite ^([^\.]*)/listinfo-([0-9]+)-([0-9]+)\.html$ $1/e/action/ListInfo/index.php?classid=$2&page=$3 last; rewrite ^([^\.]*)/showinfo-([0-9]+)-([0-9]+)-...

帝国cms的tags标签的伪静态处理求大神帮忙

列表页 调用的tags 关键词 用的程序源码调用的$nsmalltext=$r[smalltext]; $ntext=strip_tags($nsmalltext);//去除内容简介里的HTML标签 $newtext=esub($ntext,100,'...') ;//限制100字$keyboard=$r[keyboard]; $r_tag=explode(",",$keyboard);$tempid=1;//这里是搜索模板IDfor($i=0;$i".$r_tag[$i]." ";}}$listtemp='';$tagslink=$public_r[newsurl]."e/tags/?tagname=".$r_tag[$i] 这个是列表页调用的tags关键词 URL 地址譬如:...