Sometimes it is very rare to Do SEO, because the website is full of black chains, and SEO xiaomiao has been worried about website hacking for a long time in the past few days, we do know that the black chain industry is becoming more and more developed. The friends who sell the black chain are not talking about it everywhere. Even a few webmaster tool websites have their advertisements, how did they get their black chain? Some are obtained through formal channels, and some are illegally linked to others' websites and then sold. What if the links of Baidu's websites are listed? Obviously, your website will be downgraded or even K. Today I want to talk about how to effectively prevent your website from being hacked.
I believe many people want to know how to check and clear the black links on our website. Today, SEO In Guangzhou shares some common methods to check and clear the black links, I hope everyone can use it.
How to check whether the website is hacked:
First, check the source code of the website frequently.
In general, the black chain is the most popular on the home page, and some friends who sell the black chain may also like the pages on the website. This will make it easier, the webmaster needs to check the source code of the website frequently. Right-click the Text Location of the website and choose "View Source File". Click it to view the source file. If your website is disabled by right-clicking, you can download some useful browsers to view the website source code.
Second, use the webmasters tool's "website dead chain detection" Function
You can use the "website dead chain detection" function in the webmaster tool to view all links on the website page. This tool can check whether the links on your website can be accessed, it can also display all links on the website page. When you find a link with an unknown name, you can immediately take measures to delete the link, which may be a black link.
Third, use the FTP tool to view the modification time of the website file
Each website file has its own modification time. If there is no modification time, the system will display the modification time according to the file creation time. If the current website upload time is July 22, April 1, I checked through the FTP tool. Most of the files were files generated on July 15, April 1. Suddenly, the modification time of a file is similar to the current time, your file may have been moved by someone else, modified the file source code, and hung up the black chain. Now you 'd better download the file to your local device, check whether there are any traces of black links in the source code of the file. Of course, when checking, if you are an asp + access site, you can see that the modification time of your database file is similar to the current time. You can ignore it, for example, if your website article contains statistics on the number of clicks on the article, once a visitor browses the website article, it will be written to the database, and the database modification time will naturally be modified.
4. Frequently modify the ftp user name and password of the website
Some friends with black links will obtain the FTP password of your website through illegal means. If your FTP password is set very easily, such as a dangerous password such as "123456, they do not have a little security awareness. In this case, they will be better able to "start" your website. We need to set a complicated password, it can be set to a password that combines uppercase letters, lowercase letters, and punctuation marks. It can be at least safe to modify it. Don't wait until it is down to the Black chain to remember that you need to change the password. It's too late.
Fifth, use the "same IP Site query" function in webmaster tools
With this tool, you can query some websites on the same server as your website. If your website is hacked, you can check other websites on the same server, when you find that another website is also infected with a black link, we can suspect the security of the server, rather than the vulnerability of our website program, now, you need to contact the service provider immediately and ask him to elaborate on the server security policy.
You can understand the location of the Black chain and the cause of the problem. We only need to clear these black chains from the web page, but some black chains are called, in this case, you need to find the called file and delete it so that the black chain can be completely deleted.