discuz x3 fails to call pseudo-static in the DIY module and displays dynamic links, but other links display pseudo-static normally.
After enabling pseudo-static in the background, I found that the forum sections and posts clicked on the link, and the pseudo-static was displayed normally. Then I DIYed the 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 1: Front desk administrator login --> DIY -->Edit (pseudo-static problem module) -->Module template (as shown below)
Step 2: Looking at the code in the module template, you will find:
The problem is In the tag, what follows is not href="{url}". Move class="pic" or style="color:#fff" to href="{url}" to display pseudo-static normally. the link to.
The main reason for the problem is irregular writing when DIY template module;
Keep in mind that the correct writing is
The above introduces the solution for discuz x3 to fail to call pseudo-static in the DIY module and display dynamic links, including the content of discuz. I hope it will be helpful to friends who are interested in PHP tutorials.