-
It is also a common thing. I am always afraid that I will forget it, so I write it down here. Because many times due to other reasons, it is difficult for us to find tutorials suitable for novices in Baidu results, because most of the collected content is in the collection. Time has "changed", what should newbies do? Go to the dede official forum? Although there are many people studying dede, you will know when you actually ask. Not many people will respond, so it is difficult to find a truly suitable tutorial. Therefore, after you practice and solve the problems you encounter, it is still important to write down your experience and take notes.
Regarding dede’s automatic acquisition of keyword content, it is mainly divided into three parts:
1.dede automatically obtains keyword links and adds anchor text within the site
2.dede automatically adds keyword frequency settings
3. Delete the dede system variable
Let's take a closer look at how the above three points should be implemented in the dede system. Here we mainly focus on the operation and setting parameters, detailed explanation!
1. dede automatically obtains keyword links
This is relatively simple, and novices can complete it independently. Here are some important points to note, as well as the meaning of some parameters:
1. System Catalog - Collection - Document Keyword Maintenance
2. Detailed explanation of setting parameters
a. Add new keywords: (keyword text to be displayed)
b. Link URL: (Keyword link address)
c. Frequency: (Automatically obtain keyword frequency, the default is 30, no modification is required here, because each keyword anchor text only needs to appear once in the text, and will be set in the second step later)
Note: For example, take the webmaster station as an example. You need to automatically add link anchor text when "webmaster station" appears in each article. You can do this: add keywords: (webmaster station), link URL: ( http://chinaz.com/ ), frequency: (default is 30, no need to modify)
In fact, the method is very simple. You don’t need to change any files in the root directory. You only need to set it up and you can do it in one step, so that dede can automatically add keyword links when publishing articles, so if you see something next time, you need to modify it. System files and the like can basically be ignored. However, there are still a few points to note:
a. It is best for the same anchor text to appear only once in each article (for example: when there are hundreds of keywords in an article, keyword anchor text is automatically added to each keyword, and SE will think you are cheating. , this must be avoided! But the frequency setting here has no meaning. Generally, we control the frequency of keyword anchor text by adding variables, as mentioned in the second point below)
b. Automatic links will cut off your manual links (for example: I have set up the "Webmaster Station" link to http://chinaz.com/ in the background, but if I manually organize XX activities for the "Webmaster Station" when updating the article "If you add links to other related pages, the effect you see after updating the article is actually that the "webmaster site" links to the link set in the background, and "has XX activities" links to the manually set page. This is The so-called "automatic linking will cut off your manual linking" may be a misnomer, but this is something to be aware of)
2. dede automatically adds keyword frequency settings
Again, this does not require modifying the system files, just adding a control variable. Here we use the cfg_replace_num variable to control the frequency of occurrence of the same keyword anchor text:
1. System - basic parameters of the system
2. Add new variables (need screenshots for details)
Variable name: That is, the variable you added, here is cfg_replace_num instead of filling it in yourself
Variable value: This is easy to understand. Each keyword anchor text only appears once, that is, it is set to 1.
Parameter description: Limit the number of keyword substitutions (this will be displayed in the control options, this individual can set it according to different hobbies)
Group to which it belongs: that is, which group it appears in. The options are: Site Settings | Core Settings | Attachment Settings | Member Settings | Interaction Settings | Performance Options | Its Options | Module Settings. Which one you choose here, this variable will appear in that group. Under the group, you can find it in this group for future settings. Here I select "Other Options", so it will only be found in other options. The effect is as follows:
After setting it up in this way, update an article to test first. If it is ok, then update all documents. After reading the introduction, I wonder if you have set it up correctly? If the setting is not ideal, you can delete the variable and reset it, but there is no such option in the dede backend control panel. We can use the SQL command line tool to delete the variable. Delete the one we want to delete. This will be in the third point.
3. Delete the dede system variable
Here we need to use the "SQL command line tool" of the dede backend, which is actually nothing advanced. In the background of dede system - system settings - SQL command line tool - run SQL command line (single line or multiple lines according to needs)
Delete FROM dede_sysconfig where varname="cfg_replace_num", where "cfg_replace_num" is the name of the variable you want to delete.
The author of the original article divided it into three articles to introduce the above three points respectively.
If you have different opinions, you can leave a message on the author's blog, blog address http://www.warhamm.com/blog/
Thanks for your contribution to Web Game Ranking 2011