SEO website optimization: protect copyright and increase quality external chain
Nowadays, plagiarism is rampant on the Internet. Today's original works may become pseudo original works tomorrow, and even the weight given by search engines to original works is not as good as plagiarism. On the one hand, this is because the weight of small and medium-sized stations is not very high, and the copyright cannot be effectively protected; On the one hand, many webmasters lack awareness of copyright protection. Today I will discuss with you, Seo website optimization Methods to protect copyright in. First, let's talk about how to protect copyright. Generally speaking, to prevent articles on your website from being plagiarized, there are the following:
1. Set the right click prohibition code. This is only applicable to prevent manual copying, and even if this method is used, it cannot completely prevent others from plagiarizing articles - that is to say, this method can still play a lot of roles in preventing gentlemen from villains. The implementation is also very simple, as long as the following code is added to the article page, it will solve the problem that others cannot use the right mouse button on the web page.
Script language=javascript function click() {if (event. button==2) {alert ('Sorry, your right-click function cannot be used here '), document. onmousedown=click
2. Add jamming code in the article. The so-called interference code is actually the text set to white and irrelevant to the content of the article itself. Because these interference codes are white, users cannot see them. However, copied and reproduced articles will seriously lose readability. Although this method can also be cracked, it is troublesome to crack, so adding interference code to the article content can play a good role in preventing copying. As for how to add it, it is also very simple. Now mainstream blogs and bbs can easily implement this function, so I will not repeat it here.
3. Add anti-theft chain to the picture. The principle of the anti-theft chain is that the pictures on your own website can only be seen on your own website. Once they are copied directly (not saved as and uploaded, but copied directly), they cannot be displayed on others' websites. To solve this problem, you can only save your own pieces to local and upload them. Because the anti-theft chain function is added to the picture, it can effectively prevent the website from being copied or collected. The functions to be realized are not troublesome, just change httpd.ini for the win host and. htaccess for the linux host, Beijing website production You can find related tutorials online.
4. Text changes into pictures. Although this method is very practical, it is not very friendly to SEO, so it is not widely used. The principle is also very simple. It is to change some commonly used words into the format of gif pictures. If you copy them directly, the article will be almost unreadable. Therefore, this method can also play a role in protecting copyright. Specific methods can be checked online.
From the above points, we can also see that even though we have worked hard to prevent others from plagiarism, we still cannot completely stop it. In fact, this is like harnessing a flood. It is better to dredge rather than stop it. Sometimes, it can achieve good results. Next, we will talk about how to bring high-quality external chain after the article is copied.
1. Hide URL links. In fact, to be clear is to put your own High end website construction Web site links (anchor text, website address, etc.) become white and inserted into the article. In fact, this method is very effective, because if your article is long, you can't find the "hidden" text completely when copying, so it can bring the effect of external chain; Even if it is collected by software, it cannot be identified effectively. If the anchor text tag software can identify and delete, the pure text link collection software can do nothing. So it is a very effective way to hide URL links in articles.
2. The copyright information code is displayed after copying. The codes are as follows:
<script type="text/javascript">document. body. oncopy=function() {setTimeout (function()) {var text=clipboardData. getData ("text"); if (text) {text=text+"rn Source of this article: original link of your website:"+location. href; clipboardData. setData ("text", text);}}, 100)}
</script>
This can be achieved by adding the above code to the article page template. After adding this code, the above code will be added after others copy the article on your website. If it is not deleted, this is a good external link (however, it is not applicable to software acquisition).
3. Add friendship tips. Maybe this is the stupidest way, but sometimes it is the most effective way. Although many people will copy and remove the copyright, many people will still retain the copyright, or even actively add your copyright. So adding some friendly tips can have a good effect.