http://discuz.qq.com/service/security
Many website forums have this external link in the lower right corner, and for some webmasters with strict SEO, they will find a way to remove it.
Below, I will talk about how to remove this external link:
Open the following path: source/plugin/security/security.class.php Find line 102 of the following code: - function global_footerlink() {
- return ' <a target="_blank" title="'.lang('plugin/security', 'title').'"><img src="static/image/common/security.png"></a>';
- }
Copy code
Then, add "<a target="_blank" title="'.lang('plugin/security', 'title').'" ></a> "Just remove it!"
Finally, go to the website background to update the cache!
(PS: If it's the default template of Discuz, I personally don't think there's any need to toss around, it feels pretty good in the lower right corner, but for people with serious SEO, I think they will do everything they can to remove it, including Discuz in the lower left corner!) and Comsenz Inc. link. In their eyes, this will disperse the weight. Here I want to talk about how to operate a station that I made. I made a station myself, using a template designed by Kemi, the waterproof wall is not in the lower right corner, but at the bottom, so a single line feels that it affects the aesthetics, but the effect I want is to hide its picture and let its function still exist, I do it like this: <a target="_blank" rel="nofollow" title="'.lang('plugin/security', 'title').'" ></a>, some people will say, this is not a big deal, just delete it. In fact, I want to see what else is left in the code in the future, for fear of forgetting, I see that some stations use display:none to hide it, and I now use <div style="display:none"> </div>to hide the statistics, in short, the effect is the same, it depends on how you use the operation. )
|