Home Backend Development PHP Tutorial discuz x3 fails to call pseudo-static in DIY module and displays dynamic link solution

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

Jul 29, 2016 am 08:50 AM
discuz diy href nbsp url

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)

discuz x3在DIY模块中调用伪静态不成功,显示动态链接的解决办法

Step 2: Looking at the code in the module template, you will find:

<a href="{url}"{target}> or <a href="{url}"{target}>

The problem is In the <a> 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 <a href="{url}"..........>

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.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Update | Hacker explains how to install Epic Games Store and Fortnite on iPad outside the EU Update | Hacker explains how to install Epic Games Store and Fortnite on iPad outside the EU Aug 18, 2024 am 06:34 AM

Update | Hacker explains how to install Epic Games Store and Fortnite on iPad outside the EU

A must-have for Discuz users! Comprehensive analysis of renaming props! A must-have for Discuz users! Comprehensive analysis of renaming props! Mar 12, 2024 pm 10:15 PM

A must-have for Discuz users! Comprehensive analysis of renaming props!

What is the difference between html and url What is the difference between html and url Mar 06, 2024 pm 03:06 PM

What is the difference between html and url

Discuz domain name modification operation guide Discuz domain name modification operation guide Mar 09, 2024 pm 04:36 PM

Discuz domain name modification operation guide

Detailed explanation of Discuz registration process: allowing you to easily modify personal information Detailed explanation of Discuz registration process: allowing you to easily modify personal information Mar 13, 2024 pm 12:21 PM

Detailed explanation of Discuz registration process: allowing you to easily modify personal information

Detailed explanation of steps to modify Discuz domain name Detailed explanation of steps to modify Discuz domain name Mar 11, 2024 am 11:00 AM

Detailed explanation of steps to modify Discuz domain name

Discuz background account login exception, how to deal with it? Discuz background account login exception, how to deal with it? Mar 09, 2024 pm 05:51 PM

Discuz background account login exception, how to deal with it?

Discuz Editor: an efficient post layout tool Discuz Editor: an efficient post layout tool Mar 10, 2024 am 09:42 AM

Discuz Editor: an efficient post layout tool

See all articles