Home  >  Article  >  Backend Development  >  discuz x3 fails to call pseudo-static in DIY module and displays dynamic link solution, discuzx3_PHP tutorial

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

WBOY
WBOYOriginal
2016-07-12 08:53:14992browse

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...