Discuzx3 fails to call pseudo-static data in the DIY module and displays the dynamic link solution.-Shen Wenzhe discuz x3 fails to call pseudo-static data in the DIY module and displays the dynamic link, however, other links are normally pseudo-static.
After the pseudo-static function is enabled in the background, you can find the forum Forum and Post click links. the pseudo-static function is displayed normally. then, you can click the DIY post on the portal homepage and find that the link is still a dynamic link, it cannot be crawled by search engines.
Solution:
Step 1: log on as a front-end administrator --> DIY --> Edit (pseudo static problem module) --> module Template (for example)
Step 2: check the code in the module template and you will find:
Or
The problem is that in the tag,Keep upIs not href = "{url}", set class = "pic" or style = "color: # fff "move to href =" {url} "and the pseudo-static link will be displayed normally.
The main cause of the problem is that the DIY template module is not properly written;
Remember that the correct method is