当前位置:Gxlcms > PHP教程 > dedecms列表页文章链接http://localhost/plus/view.php?aid=2522静态化,_PHP教程

dedecms列表页文章链接http://localhost/plus/view.php?aid=2522静态化,_PHP教程

时间:2021-07-01 10:21:17 帮助过:4人阅读

dedecms列表页文章链接http://localhost/plus/view.php?aid=2522 静态化,


1.我们添加自定义属性跳转文章,填写好跳转网址,如下图

dedecms列表页文章链接http://localhost/plus/view.php?aid=2522 静态化 - itwo - 我就是我

2.我们发现链接地址却是动态的,类似http://localhost/plus/view.php?aid=3622,而我们想要http://localhost/zt/dbs/
dedecms列表页文章链接http://localhost/plus/view.php?aid=2522 静态化 - itwo - 我就是我

3.通过查看代码,我们发现修改调用dedecms语句即可

原代码:链接href调用[field:arcurl]是动态的 dedecms列表页文章链接http://localhost/plus/view.php?aid=2522 静态化 - itwo - 我就是我

修改后代码:链接[field:redirecturl/]是静态的,符合我们的需要

dedecms列表页文章链接http://localhost/plus/view.php?aid=2522 静态化 - itwo - 我就是我

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/1040154.htmlTechArticlededecms列表页文章链接http://localhost/plus/view.php?aid=2522 静态化, 1.我们添加自定义属性跳转文章,填写好跳转网址,如下图 2.我们发现链接地址却...

人气教程排行