In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about how to view the static HTML of the web page, many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
Website static is one of the important means of website optimization. The main effect is that static pages can attract the attention of search engines, while search engines pay far less attention to dynamic pages than static pages. The main reason is that dynamic pages in various languages (ASP,PHP,JSP,CGI,.NET) often use multiple pages to form a main page, taking the home page of a website as an example: usually LOGO
Website static is one of the important means of website optimization. The main effect is that static pages can attract the attention of search engines, but search engines pay far less attention to dynamic pages than static pages. the main reason is that dynamic pages in various languages (ASP,PHP,JSP,CGI,.NET) often use multiple pages to form a main page. Take the home page of a website as an example: usually the head part such as LOGO is defined as a page, and the tail copyright part also defines a page. Mainly for other pages can also be easily called. So the home page of the site uses only a piece of code to call the file, which reduces a lot of keywords that search engines need to grasp.
Due to the existence of a large number of dynamic web pages, some websites with full dynamic web pages lose a lot of opportunities to be discovered by users. In order to meet the needs of network marketing, if the website can not all be realized by static web pages, the basic way of static and dynamic combination should be adopted, that is, dynamic web pages should never be used if they can be solved by static web pages, especially some important web pages should be dealt with in a static way. The combination of static and dynamic reflects a basic idea of network marketing.
Pages in pure HTML format are usually called "static pages". Early websites are generally static pages, but because static pages do not have the support of database, it will increase a lot of work, and due to the lack of interactive functions, when the site has a lot of information and functions, it is impossible to rely entirely on static pages, so dynamic web pages become the inevitable requirement of website maintenance. However, due to the existence of a large number of dynamic web pages, it also causes some problems, and some websites with full dynamic web pages will lose a lot of opportunities to be discovered by users. Of course, these problems can not be solved, the important thing is to attach great importance to this, from the point of view of network marketing, any technology is for the needs of network marketing, the effect is the first, as for the use of technology itself is not the goal.
(1) search engines only grab one piece of skin.
We often encounter such a situation, according to the results of the search engine feedback, it is the information we need, but when we click on the page, we find that it is not the content? Why? Because the information displayed by the search engine is not retrieved in real time from the Internet, but regularly retrieved from the Internet, and then stored in its own database first, the information retrieved by the user is the information already collected by the search engine, so it will feedback a large number of results in a very short time. The problem lies here, the content of the same URL is changing in different periods, so that when the user clicks, the latest web content appears, which may be completely different from that included by the search engine, and the result makes the user disappointed. If it is a static web page, this usually does not happen. In fact, this is not the fault of the search engine, and through reasonable design, this situation can be avoided. Therefore, in order to make the search results consistent with the expectations of users, on the one hand, we should try our best to use static web pages, on the other hand, we should try our best to keep the content of dynamic web pages relatively stable.
(2) the web page cannot be retrieved.
For corporate websites for the purpose of marketing, no one wants their pages to be retrieved by search engines, but in fact, for some websites designed by asp programs, many content pages can not be searched by search engines, which directly loses the opportunity to be found by users. If a website construction service provider introduces to customers that we use dynamic web pages, but your site will not be retrieved by search engines, I believe that no customer will be willing to entrust you to do this micro-enterprise website with even a few thousand yuan. What shall I do? In fact, there is also a certain solution, under normal circumstances, the site using asp procedures, the home page can generally be retrieved, although compared to the full static page of the site, lost a lot of opportunities to be retrieved, but after all, there is a major page to play, that is to say, should be done on the home page of the article: as far as possible to do a good job of the home page of the search engine! If there is enough valuable part of the information returned by the search engine to attract users to the home page of the site, users still have a chance to gradually find the information they need from the home page of the site. Of course, in many cases, it is not necessary to give yourself so little room to play, it is best to consider the suggestion of "static and dynamic combination" below.
(3) there are still files on the web page of a few years ago.
In order to study, I sometimes encounter looking up web pages from a few years ago. My early personal home page collected almost all the articles about online marketing that could be found in China at that time. However, with the repeated upgrades of the computer and the continuous revision of the personal home page, the collected data has long been removed from the personal website, and only their own original articles can be retained, so the once very simple problem becomes complicated. However, what is gratifying is that through the web page archives (www.archive.org) collected by an Internet archive in the United States, all the contents of HTML static web pages can be found according to the web page links, while those using dynamic web page technology can find the title list of the article at most, and the content of the original text cannot be found. This is a windfall.
(4) static and dynamic combination to static braking
From the point of view of network marketing, of course, the effect of static pages is better, but in fact, it may not be very realistic, so the combination of static and dynamic methods can be adopted to solve the problem. The combination of static and dynamic has two meanings: on the one hand, it means that some important and relatively fixed web pages are made as static web pages, such as website introduction containing rich keywords, user help, site map and so on. On the other hand, dynamic web pages can be transformed into static web pages through certain technologies, which is especially suitable for web pages that do not need to be constantly updated after release (such as news, etc.). " The combination of static and dynamic, static braking "reflects a basic idea of network marketing: those that can be solved by static web pages should never use dynamic web pages, especially some important web pages must be dealt with in a static way.
But if the web page is static, it is troublesome to maintain, so it needs to be combined with dynamic code. Take ASP as an example to briefly introduce a dynamic to static implementation process, ASP mainly uses FSO components to generate static pages, before the development of the program need to do a template, save to the database, in order to later call to generate the same static pages as the template. The above is mainly the process of content pages. When generating a column page, it is mainly how to determine the title link of the list, there are usually two ways: 1, first determine the regular path, such as the end of ID, so that the path can be determined. 2. Define a file name when each content page is generated, store it in the database, and call it on the column page, which can also be solved. By analogy, the column page or home page on the horizon is formed in the same way. There is no detailed description of the template, mainly according to the size of the website, and define the number of templates.
After reading the above, do you have any further understanding of how to view the HTML static of the web page? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.