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

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

WBOY
WBOYOriginal
2016-06-13 08:57:043010browse

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

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



2.我们发现链接地址却是动态的,类似http://localhost/plus/view.php?aid=3622,而我们想要http://localhost/zt/dbs/
 

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

原代码:链接href调用[field:arcurl]是动态的

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn