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 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:
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;