Home > Backend Development > PHP Tutorial > dedecms list page article link http://localhost/plus/view.php?aid=2522 Static, _PHP tutorial

dedecms list page article link http://localhost/plus/view.php?aid=2522 Static, _PHP tutorial

WBOY
Release: 2016-07-13 09:45:33
Original
2099 people have browsed it

dedecms list page article link http://localhost/plus/view.php?aid=2522 Static,

1. We add custom attributes to jump to articles, fill in Good redirect URL, as shown below

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

2. We found that the link address is dynamic, similar to http://localhost/plus/view.php?aid=3622, and we want http://localhost/zt/dbs /
dedecms列表页文章链接http://localhost/plus/view.php?aid=2522 静态化 - itwo - 我就是我

3. By looking at the code, we found that just modify the calling dedecms statement

Original code: The link href call [field: arcurl] is dynamic dedecms列表页文章链接http://localhost/plus/view.php?aid=2522 静态化 - itwo - 我就是我

Modified code: The link [field:redirecturl/] is static and meets our needs

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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1040154.htmlTechArticlededecms list page article link http://localhost/plus/view.php?aid=2522 Static, 1 .We added a custom attribute to jump to the article and filled in the jump URL, as shown in Figure 2. We found that the link address was...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template