Using Excel to manage monitoring website files against black chain

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

The first two days in the regular site information to view the process, suddenly found that the site's Baidu snapshots stay in the May 15, the site just to pick up the stage, no use of any black hat SEO means, but inexplicably encountered Baidu punishment, it is not understood. After tossing a morning to find out why, finally found lying in the gun, the site encountered the legend of the normal operation of the webmaster to talk about the change of the black chain, toss a afternoon will all processing cleared up, black chain is really impossible.

In the perfect server security settings, login account password changes, think carefully, think back to the site each page was added so many black chain, just be Baidu pause snapshot, and no K station, really lucky, have to sum up a way to timely find black chain modify Web site files, In order to find the search engine as early as possible to actively and quickly deal with, so as to avoid long-term painstaking care of the site because of the black chain by the search engine k off.

The best way to find the black chain is to view the source of the Web page file. But the site page source files are numerous, open to view the time spent longer, if each patrol cost so long time, that every day to patrol a few times there is no time to do anything else, so have to think a more convenient way to patrol comparison. Through a day of research testing, to explore the Windows 2003 operating system on the server in Excel management monitoring file properties, the following share with you how to use Excel Management monitoring file properties to facilitate inspection and timely detection of black chain changes.

1. File object properties of the specified file

Converts the specified file to a file object by using the GetFile method of the FileSystemObject object, which transforms the object properties read as shown in the following table:

  

2, read the specified file object properties

Take the homepage of the website index.css file as an example, use the following VBA code to convert and read the file C:\template\default\css\index.css object properties, and display the property information on the worksheet:

  

The results of the operation are as follows:

  

Set the VBA code above for each important file you want to monitor, and save the results in a different worksheet on the same Excel file.

3. Check Excel function Comparison results

Using the exact () function of Excel, the Excel file generated by each patrol run is automatically contrasted with the Excel file generated by the previous patrol run. found that the datalastmodified attribute of the important file, that is, the date of the last modification of the file has a different return flase results, in the daily inspection time just follow the steps above to run, you can easily find important documents modified or not, For the abnormal modification of the operation of the changes in the time file to focus on viewing the source code, to see whether due to the black chain caused by the file abnormalities.

After these days the site of the operation, according to the above method of the site to monitor the important documents are illegal modification is feasible, to share the hope that everyone in the face of the problem of black chain ideas on the role of reference, this article from Taobao rebate http://www.0576mm.com/original summary. If you do not agree, you can message exchange, original starting in A5, reproduced in the time please keep the author link, thank you!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.