1. 心意SEO优化首页
  2. 网站搭建

WordPress帝国CMS程序Nginx伪静态设置

帝国CMS程序Nginx伪静态代码

微信群导航站Nginx伪静态代码

rewrite ^/list/([0-9]+)-(.+)-([0-9]+).html$ /e/action/plist.php?ph=1&classid=$1&orderby=$2&page=$3;
rewrite ^/personal/$ /e/action/plist.php?ph=1&classid=1&orderby=0&page=0;
rewrite ^/personal/([0-9]+).html$ /e/action/personal.php?id=$1;
rewrite ^/openid/$ /e/action/plist.php?ph=1&classid=97&orderby=0&page=0;
rewrite ^/openid/([0-9]+).html$ /e/action/openid.php?id=$1;
rewrite ^/xcx/$ /e/action/plist.php?ph=1&classid=275&orderby=0&page=0;
rewrite ^/xcx/([0-9]+).html$ /e/action/xcx.php?id=$1;
rewrite ^/group/$ /e/action/plist.php?ph=1&classid=194&orderby=0&page=0;
rewrite ^/group/([0-9]+).html$ /e/action/group.php?id=$1;
rewrite ^/product/$ /e/action/plist.php?ph=1&classid=238&orderby=0&page=0;
rewrite ^/product/([0-9]+).html$ /e/action/product.php?id=$1;
rewrite ^/marketing/$ /e/action/plist.php?ph=1&classid=255&orderby=0&page=0;
rewrite ^/marketing/([0-9]+).html$ /e/action/marketing.php?id=$1;网站伪静态

手游下载站Nginx伪静态代码

rewrite ^/showinfo-(.+?)-(.+?)-(.+?).html$ /e/action/ShowInfo.php?classid=$1&id=$2&page=$3;
rewrite ^/listinfo_(.+?)_(.+?)_(.+?).html$ /e/action/ListInfo.php?orderby=$1&classid=$2&page=$3;
rewrite ^/infotype-(.+?)-(.+?).html$ /e/action/InfoType/index.php?ttid=$1&page=$2;
rewrite ^/tags_(.+?)_(.+?).html$ /e/tags/index_1.php?orderby=$1&tagid=$2;
rewrite ^/liuyue_(.+?)_(.+?).html$ /e/tags/remen.php?orderby=$1&classid=$2;

茶叶资讯站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&page=$3 last;
rewrite ^([^\.]*)/comment-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)\.html$ $1/e/pl/index\.php\?doaction=$2&classid=$3&id=$4&page=$5&myorder=$6&tempid=$7 last;
if (!-e $request_filename) {
return 404;
}

WordPress程序Nginx伪静态代码

SEO博客站Nginx伪静态代码

location /
{
try_files $uri $uri/ /index.php?$args;
}

rewrite /wp-admin$ $scheme://$host$uri/ permanent;

企业站Nginx伪静态代码

location /
{
try_files $uri $uri/ /index.php?$args;
}

rewrite /wp-admin$ $scheme://$host$uri/ permanent;

云服务器IDC代理平台Nginx伪静态代码

if (!-d $request_filename){
set $rule_0 1$rule_0;
}
if (!-f $request_filename){
set $rule_0 2$rule_0;
}
if ($rule_0 = “21”){
rewrite ^/(.*)$ /index.php/$1 last;
}

版权声明:本文作者:杭州SEO,如若转载请注明来源。来源:https://www.cxyseo.cn/2026.html

发表评论

登录后才能评论

点击这里给我发消息

微信二维码