Today, with the constant updates and adjustments of Baidu algorithms, the role of external links is getting smaller and smaller, so the optimization of some details on the site is undoubtedly increased a lot, in particular, some small details that are most easily overlooked in daily life. when a page or page is accumulated on one of them, today, when the website ranks 2013 in the future, as the Baidu algorithm keeps updating and adjusting, the role of external links is getting smaller and smaller, so the optimization of some details on the site is undoubtedly increased a lot, especially some small details that are the easiest to ignore in our daily lives, when they accumulate pages and pages on one page, it is undoubtedly a huge blow to our website rankings in the future. In fact, we should say, "The Details determine success or failure ", however, today I will share with you the details that cannot be ignored in website code optimization. I will share them with you in five aspects.
(1) compress the entire website page.
I believe many webmasters will find that Baidu has begun to pay more and more attention to the loading speed of website pages in this year's updates. In fact, Baidu, the mobile phone version, can see this, generally, when you search for a keyword, you can open several websites on the first page, and you will find that the speed is fast and the page size is compressed, therefore, if you want your website to have a good speed and development, page compression is very important. the specific advantages include the following:
1. reduce the load on the server.
2. increase the access speed of users.
3. increase the crawling speed of the spider.
(2) compression of images on the website page.
In fact, for pages, the text loading speed is much higher than the image loading speed, because we all know that the opening of website images takes a lot of time to occupy the memory, this will undoubtedly affect the loading speed of the entire website. for example, my own website was in this situation, which often caused the website to be unable to be opened, and eventually led to the downgrading of the search engine. In this case, we can use some tools to compress page images, which can save a lot of space resources for our servers, thus effectively improving the overall speed of the website.
In addition, we can separate websites and images for calling, so that even if the image loading speed is slow, it will not affect the overall speed of our website.
(3) website Image attribute comments.
Those who know how to optimize the image believe that they are familiar with the ALT attribute of the image, because we all know that spider cannot identify the content that the image wants to express, so at this time, we can only use the ALT attribute to show the content of the image, so we must pay attention to this. I believe that some webmasters who specialize in image sites will find that we will have a lot of traffic for users who search for images through Baidu images, Sogou images, and other search engines, in fact, this is the benefit of the ALT attribute.
(4) the browser cache should be cleared regularly.
No matter whether our website calls images or text, as long as the called files have a cache time, we need to set this cache time, generally, small editors are set to take about one week. This benefit is actually one of the factors that search engine spider gives us a page score.
(5) avoid similar pages as much as possible.
I believe many of my friends will find that their websites are much worse than those of other websites in the same industry. in this case, you have to consider whether your website pages are too high. Because we all know that spider like fresh content, and when a large number of repeated content appears on your website, this will undoubtedly make search engines very disgusted, let alone include it, even more serious cases will be punished by search engines for permission downgrading. Therefore, we must pay more attention to this situation.
Summary: Although the five details above are relatively simple, they are often the easiest to ignore. In addition, we need to discover and summarize more details, for example, you can view the problems on your website from the user's perspective. you can also use some crawler simulation tools to check whether crawlers crawl and crawl on our website normally, in addition, website logs are also a good helper. you must observe and discover more.