城市分站二级域名 栏目页内容页如何伪静态 迅睿框架 更新 2022-07-18 12:36:35 sky 城市分站二级域名 栏目页内容页如何伪静态?找了站内的教程,都不行,都是404.求解/应用版权:第三方应用名称:城市分站SEO优化插件
list($a) = explode('.', $_SERVER['HTTP_HOST']); $file = WRITEPATH.'linkage/1_fenzhan/id.cache'; $arr = json_decode(file_get_contents($file), true); if ($a && in_array($a, $arr)) { return [ "show\-([0-9]+).html(.*)" => 'index.php?s=fenzhan&fid='.$a.'&c=show&id=$1', "list\-([0-9]+).html(.*)" => 'index.php?s=fenzhan&fid='.$a.'&c=category&id=$1', "list\-([0-9]+)\-([0-9]+).html(.*)" => 'index.php?s=fenzhan&fid='.$a.'&c=category&id=$1&page=$2', ]; }