| 插件 | 自定义页面 V3.5 |
| 应用作者 | 迅睿官方团队 |
| 发布时间 | 2019-03-14 10:12:35 |
| 更新时间 | 2024-12-25 14:38:04 |
自定义页面分页,伪静态设置后,上一页变成index-1.html,求简单的方法,让上一页变成index.html
{module module=news page=1 pagesize=100 urlrule=/zuixin/index-[page].html firsturl=/zuixin/index.html}
{template "content.html"}
{/module}
伪静态:
"zuixin\/p([0-9]+)\.html" => "index.php?s=page&dir=zuixin&page=$1", // page
插件版权:官方插件
插件名称:自定义页面
{php echo str_replace('/index-1.html','/index.html',$pages);}