discuz x3 fails to call pseudo-static in DIY module and displays dynamic link solution, discuzx3_PHP tutorial

WBOY
Release: 2016-07-12 08:53:14
Original
1014 people have browsed it

discuz x3 fails to call pseudo-static in the DIY module and displays the solution for dynamic links, discuzx3

discuz x3 fails to call pseudo-static in the DIY module and displays dynamic links , whereas other links display pseudo-static normally.

After enabling pseudo-static in the background, I found that forum sections and posts clicked links, and pseudo-static was displayed normally. Then I DIYed posts displayed on the portal homepage. After clicking in, I found that the link was still a dynamic link and should not be crawled by search engines.

Solution:

Step one: Front desk administrator login --> DIY -->Edit (pseudo-static question module) -->Module template (as shown below)

Step 2: Check the code in the module template and you will find:

or

The problem is that in the tag, immediately follows instead of href="{url}". Move class="pic" or style="color:#fff" After reaching href="{url}", the pseudo-static link can be displayed normally.

The main reason for the problem is irregular writing when DIY template module;

Remember that the correct way to write it is

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1125078.htmlTechArticlediscuz x3 failed to call pseudo-static in the DIY module, display the solution of dynamic link, discuzx3 discuz x3 in DIY The pseudo-static call in the module is unsuccessful and dynamic links are displayed, but other...
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