当前位置:论坛首页 > Linux面板 > 求助

[LNMP]网站改版301重定向规则

发表在 Linux面板2021-8-23 21:26 [复制链接] 2 2414

如题:
老版地址
https://demo.cn/index.php?s=/index/goods/index/id/1.html
https://demo.cn/index.php?s=/index/goods/index/id/2.html
https://demo.cn/index.php?s=/index/goods/index/id/3.html
https://demo.cn/index.php?s=/index/goods/index/id/4.html
https://demo.cn/index.php?s=/index/goods/index/id/5.html
https://demo.cn/index.php?s=/index/goods/index/id/6.html
https://demo.cn/index.php?s=/index/goods/index/id/7.html
https://demo.cn/index.php?s=/index/goods/index/id/8.html
新版地址
https://www.demo.cn/goods-1.html
https://www.demo.cn/goods-2.html
https://www.demo.cn/goods-3.html
https://www.demo.cn/goods-4.html
https://www.demo.cn/goods-5.html
https://www.demo.cn/goods-6.html
https://www.demo.cn/goods-7.html
https://www.demo.cn/goods-8.html


这样的301重定向规则要怎么写.....

使用道具 举报 只看该作者 回复
发表于 2021-8-23 21:31:24 | 显示全部楼层
本帖最后由 宝塔用户_djdbis 于 2021-8-23 21:36 编辑

不太会代码,还请各位大佬赐教.thinkphp  伪静态
使用道具 举报 回复 支持 反对
发表于 2021-9-11 23:46:40 | 显示全部楼层
最终问题解决了吗?  我也遇到类似问题
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表