Website data lost 36 hours after Baidu included 227 pages

Source: Internet
Author: User
Keywords SEO

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

January 5, one hour before getting up, the VPS host failed, n VPS paralysis.

Afternoon, fix it.

Unfortunately, the database is corrupted and cannot be repaired.

website, finished!

-----------------------

January 7 morning, Baidu included magical from 27 to 227, Google from 1700 to more than 2,100.

-----------------------

January 10, the website is back online.

January 15, 2,500 data, manual finishing, post-disaster reconstruction work is basically completed.

January 16, a few updates Baidu snapshot, the page contains 264 http://www.baidu.com/s?wd=site%3A92nds.com
Google snapshots Most updates, the page contains 2510 http://www.google.cn/search?hl=zh-CN&q=site%3A92nds.com

-----------------------

Share 2 experiences below

1 using the capabilities of IIS to do 301 orientation

First say simple, I lost a page is http://www.92nds.com/AVG/895.shtml. Then we need to create a file 895.shtml (no content in this file) in the AVG directory of the website, and then "-->" the "-->" property "Redirect to URL (U)".

So now you click on the connection above to see which page the actual open address is.

It is important to note that the 2 options in the Diagram "resource permanent orientation" and "exact URL entered above" must be ticked.

-----------------------

Because we may be directed more pages, my station http://www.92nds.com/just on the line half a month, there are more than 2,500 articles.

So here's an advanced application. Suppose my original page is all. html, now I change the page to shtml, how to orient?

In IIS, select the site you want to orient, "-->"--> "Home Directory"--> "redirect to URL (U)"

Directional content *; /*/*.html; /$0/$1.shtml;

*; /*/*.html;    /$0/$1.shtml; The meaning of this parameter is this:

*; It means I'm going to use the wildcard method to redirect.

/*/*.html on behalf of the page I want to orient is any HTML page in any of the next level directories in the site's home directory.

and/$0/$1.shtml; The/*/*.html of the front; The value in the first * is passed to $, and the value in the second * is passed to the

That's the result of the transfer.

Http://www.92nds.com/rpg/404.html--> http://www.92nds.com/RPG/404.shtml

Still remember to select "Resource permanent orientation" and "exact URL entered above"

Each part is separated by a half-angle semicolon;

-----------------------

If you have different directories to be directed to different pages, select a different directory, "right---> properties" to write different directional rules.

The above is the use of "wildcard" parameters to orient, but also more difficult 301 custom orientation method, "complete 301 directional parameters" Please see here http://blog.daweiba.com/read.php/152.htm

-----------------------

Let's share another piece of experience.

2 large station, navigation bar use JS as far as possible

Have friends here will have questions, we have been learning is to try not to use JS and Flash navigation bar, you here why exactly the opposite?

So let's take a look at the diagram below to find out.

The first page is: "Action class" home, Snapshot time is relatively early, inside the navigation does not use JS.

The second page is: "Action class" 17th list paging, snapshot time is relatively near, the navigation using JS.

First page: December 25 snapshot, not using JS navigation.

Second page: January 4 snapshot, using JS navigation.

-----------------------

Then we can see that there is no use of JS navigation page, the page description of a mess, a large area is filled with your navigation bar text information, and the use of JS navigation pages, page description clear, organized, and easier to highlight keywords.

So here again to answer the question, in the end should not JS navigation bar? My suggestion is that the home page do not use JS navigation, column home do not use JS navigation, List page and content page as far as possible using JS navigation.

Our internal page cross connection, rely on is not the navigation bar so little place, cross connection as far as possible in the lower part of the code, because the search engine on the content of the acquisition is "light foot", so we do the page also "top-heavy" some. Important content, and the stacking of keywords, as much as possible into the top half of the code.

-----------------------

Well, today is the first to write here, this week are mainly busy data recovery work, so rarely write things, I will often share with you my experience, I wish you a happy weekend. ^_^

Related Article

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.