Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of adding anchor text to Weaving Dream DEDECMS links

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the method of adding anchor text to Weaving Dream DEDECMS links, which has a certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

How to add anchor text to Zhimeng DEDECMS links?

The Modification method of adding Anchor text to Zhimeng DEDECMS Link

A basic introduction to the anchor text:

Or anchor text link, hypertext link, called anchor text in English, anchor text actually establishes the relationship between text keywords and URL links, anchor text code: text keywords. The anchor text can be used as an evaluation of the content of the page on which the anchor text is located.

Normally, the links added to the page have something to do with the content of the page itself.

The website of the clothing industry will add links to some peer websites or links to some well-known clothing companies; on the other hand, the anchor text instinctively serves as an evaluation of the page to which it points.

The anchor text instinctively and accurately describes the content of the page pointed to, the links added on the personal website, and the links added by the anchor text to the "search engine" page should generally be directly related to the page. Search engines can judge the content attributes of a web page according to the anchor text description of a link to a web page. The role of anchor text on search engines is also shown as the ability to collect files that search engines cannot index.

The effect of anchor text on optimization:

Anchor text is a very important web page optimization method. Adding appropriate anchor text to the web page will improve the keyword importance of the web page and the page it points to, thus affecting the keyword ranking. The effect of anchor text on optimization is mainly reflected in the following aspects:

1. Effect on the page where the anchor text is located

Normally, the link anchor text added to the page has a certain relationship with the page itself, so the anchor text can be used as an evaluation of the content of the page where the anchor text is located. For example, if this article contains a link to "optimization", it shows that this article has something to do with optimization.

two。 The effect on the page pointed to by the anchor text

The anchor text instinctively accurately describes the content of the page to which it points, so the anchor text can be used as an evaluation of the content of the page to which it points.

3. The influence of Anchor text on keyword ranking

Generally speaking, the anchor text links added to the page should be relevant to the page, so as to improve the anchor text keyword ranking of the page and the page in the search engine.

4. Collect files that cannot be indexed by search engines

For some files or web pages that cannot be indexed by search engines, the anchor text acts as a bridge, and the search engine spider crawls to another web page through the link address of the anchor text on the page. in this way, the search engine can index the page content and files of the page.

DEDE link anchor text link, add anchor text to DEDE link:

To get to the point, DEDECMS links are originally unanchored text. A simple summary of the effect of anchoring text links:

If you move your mouse over a hyperlink, it will show some words as anchor text after a while.

You can see whether the link in the DEDECMS default template moves the mouse over the hyperlink where it will not display another line of words. Now look at the effect of the link on the home page.

The method to modify this effect is as follows:

Locate the file and find the following code:

While ($dbrow=$dsql- > GetObject ()) {if ($type=='text' | | $type=='textall') {$link = ".cn _ substr ($dbrow- > webname,$titlelen).";} else if ($type=='image') {$link = "

Else {if ($dbrow- > logo=='') {$link = ".cn _ substr ($dbrow- > webname,$titlelen).";} else {$link = "

";}}

Replace with the following code:

While ($dbrow=$dsql- > GetObject ()) {if ($type=='text' | | $type=='textall') {$link = ".cn _ substr ($dbrow- > webname,$titlelen).";} else if ($type=='image') {$link = "

Else {if ($dbrow- > logo=='') {$link = ".cn _ substr ($dbrow- > webname,$titlelen).";} else {$link = "

Thank you for reading this article carefully. I hope the editor will share the method of adding anchor text to the Weaving Dream DEDECMS link to help you. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report