Discuzx3 fails to call pseudo-static data in the DIY module and shows the dynamic link solution-Shen Wenzhe

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.