Static HTML of web pages-website Optimization

Source: Internet
Author: User

The main reason is: for various languages (Asp, PHP, JSP, CGI ,. net) Dynamic Pages often use multiple pages to form a home page. For the homepage of a website, the logo and other headers are usually defined as a page, and the Copyright part at the end is also defined as a page, it is mainly for the convenience of calling other pages. Therefore, the homepage of the website only uses one segment. Code When a file is called, many keywords need to be captured by the search engine are missing.

Because of the existence of a large number of dynamic web pages, some websites with full dynamic web pages lose many opportunities for users to discover. To meet the needs of online marketing, if the website cannot be fully implemented using static Web pages, we should adopt the basic method of static and dynamic combination, that is, dynamic web pages can be used instead of dynamic web pages, in particular, some important web pages must be processed in a static manner. The combination of static motion reflects the basic idea of network marketing.

Web pages in pure HTML format are often referred to as "static Web pages". Early websites generally use static Web pages. However, because static Web pages do not support databases, it will increase the workload, in addition, due to lack of interactive functions, when a website has a large amount of information and functions, it cannot be achieved by relying entirely on static Web pages. Therefore, dynamic web pages become an inevitable requirement for website maintenance, however, due to the existence of a large number of dynamic web pages, some websites with full dynamic web pages will lose many opportunities discovered by users. Of course, these problems cannot be solved. The important thing is that they are highly valued. From the perspective of network marketing, any technology is for the needs of network marketing, and the effect is the first, it is not intended to use the technology itself.

(1) Search engines only capture one skin

We often encounter such a situation. According to the feedback from the search engine, the information we need is exactly what we need. But when we click this page, we find that it is not the content? Why? Because the information displayed by the search engine is not retrieved from the Internet in real time, it is retrieved from the Internet on a regular basis and then saved to its own database, the information retrieved by the user is the information collected by the search engine. Therefore, a large amount of results are returned in a short period of time. The problem is that the content of the same URL is changing in different periods. In this way, when a user clicks, the latest webpage content appears, the results may be completely different from the content indexed by the search engine. This is generally not the case if the webpage is static. In fact, this is not a search engine error, and through reasonable design, this situation can also be avoided. Therefore, to ensure that the search results are consistent with the user's expectations, on the one hand, try to use static webpages as much as possible, and on the other hand, try to make dynamic webpages relatively stable.

(2) webpages cannot be retrieved

For marketing-oriented enterprise websites, no one wants their webpages to be retrieved by search engines, but in fact some websites use ASPProgramMany content pages of a designed website cannot be searched by a search engine, which directly loses the chance of being discovered by users. If a website construction service provider tells customers that we use dynamic web pages, but your Website Cannot be retrieved by the search engine, I believe that no customer is willing to entrust you with a micro-enterprise website that only costs several thousand yuan. What should I do? In fact, there are also some solutions. Normally, the homepage can still be retrieved for websites using ASP programs. Although compared with websites with full static pages, many retrieval opportunities are lost, but after all, there is still a major webpage available for use. That is to say, you should do enough on the homepage.Article: Do your best to worry about search engines on the homepage! If the information returned by the search engine is valuable enough to attract users to the homepage, users still have the opportunity to gradually find their desired information from the homepage. Of course, in many cases, there is no need to leave such a space for your own use. It is best to consider the "static and dynamic combination" suggestions in this article at the same time.

(3) A few years ago, there were still files on the webpage that could be queried.

For the purpose of research, I sometimes find web pages several years ago. My personal homepage collected almost all the online marketing articles that can be found in China at the time, however, as the computer is upgraded and the personal homepage is constantly revised, the collected information has been removed from the personal website, and only original articles can be retained, as a result, a very simple problem has become complicated. However, it is gratifying that, through a Web page file (www.archive.org) collected by an Internet Archive in the United States, any HTML static webpage content can be found based on the webpage link, when dynamic web page technology is used, the Title List of the article can be found at most, and the content of the original article cannot be found. This is an unexpected achievement.

(4) Static braking

From the network marketing point of view, of course, the static page has better results, but in fact it may not be realistic, so we can adopt a combination of static and dynamic methods to solve the problem. Static interaction has two meanings: on the one hand, it refers to the creation of static webpages for important and relatively fixed webpages, for example, website introductions, user help, and website maps with rich keywords are provided. On the other hand, dynamic web pages can be converted to static Web pages after being published through certain technologies, this method is especially suitable for webpages (such as news) that do not need to be constantly updated after the content is published ). "Static and dynamic combination to static braking" reflects the basic idea of network marketing: dynamic web pages are never used when static Web pages are used, in particular, some important web pages must be processed in a static manner.

However, if the web pages are static, it is very difficult to maintain them. Therefore, it must be combined with dynamic code. Using ASP as an example, we will briefly introduce a process of implementing dynamic and static conversion. asp mainly uses the FSO component to generate static pages. Before developing a program, we need to make a template and save it to the database, to generate a static page that is the same as the template in the future. The above is the content page process. When generating a column page, there are two methods to determine how to connect the list titles: 1. First, determine the rule path, such as the end of the ID, so that the path can be determined. 2. Define a file name for each Generated Content Page and store it in the database. You can also solve this problem by calling it on the column page. And so on. In the hope of the column page or the home page is also formed. The template is not described in detail, mainly based on the size of the website, and the number of templates is defined.

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.