Current location - Recipe Complete Network - Catering training - What are the precautions in the process of Shenzhen website promotion and optimization?
What are the precautions in the process of Shenzhen website promotion and optimization?
1, ALT attribute of the picture.

Baidu's algorithm for capturing images is still judged according to the description attributes of Alt tags. As the most important description window of a picture, Alt attribute is also the key factor of website ranking, so it is necessary to ensure that Alt attribute description is used correctly in every picture.

2. robots.txt settings of the website.

If your website uses robots.txt file, Baidu spider will not crawl such a website. If it is set, it should be deleted in time. The important rules in the robots.txt file should be in the. Htaccess file (distributed configuration file) or IIS server (Internet information service) guides Baidu crawler to crawl.

The role of tips:. Htaccess file in the website

1) password-protected folder

2) Prohibit websites from being included in the directory list.

3) Change the file extension.

4) Create a custom error page

5) Use the replacement index file.

3. Website speed

The loading speed of the website will affect Baidu spider crawling, which is also an important factor affecting the website ranking. Websites with slow loading speed will lose the good chance of spider crawling, which will lead to an increase in the bounce rate of websites. Besides the location of the website server, the broadband rate and the size of the website program also affect the loading speed of the website.

4. Built-in page frame

Unless absolutely necessary, try not to use the iframe tag. Some browsers will not understand it, so they will block this tag as an advertisement, which will lead to the problem of incomplete loading of many websites. Baidu spider can't grab any elements in iframe tags in web pages.

5.JavaScript and Flash

Baidu Spider can't effectively capture JS and Flash files, so we must make sure whether there are any important contents in these files to be included.

6. Anchor text

Using anchor text for website keywords is still one of the criteria for Baidu search engine to evaluate the weight of a website. Keywords: the internal link structure in all links should be optimized with anchor text.

7. Friendship chain construction

"With more friends, it's easier to walk", and so is link exchange. You can switch to a large number of high-quality links, and you can also help your website better and guide the direction of spiders. One of the biggest areas where Baidu has not developed its own algorithm is the construction of inbound links. They emphasize the quantity of links more than the quality.