Web page HTML static _ website Optimization Talk _ website operation

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 homepage, take the homepage of the site: usually the logo, such as the first part of the definition of a page, the tail of the copyright section also defines a page, mainly for other pages can also be convenient to call. Therefore, the homepage of the site only used a section of code to call the file, but also a lot less search engines to catch the keyword.

Because of the presence of a large number of dynamic Web pages, some dynamic Web sites have lost a lot of opportunities to be found by users. In order to network marketing needs, if the site can not be all static web implementation, should adopt the basic method of static and dynamic combination, that is, static Web pages can not be used to solve the dynamic Web pages, especially for some important pages to be used in a static way to deal with. Static and dynamic combination reflects a basic idea of network marketing.

Purely HTML-formatted pages are often called "static pages", early Web sites are generally static pages, but because static Web pages do not have the support of the database, will increase a lot of work, and due to lack of interactive function, so when the site has a lot of information and more functions, completely rely on static Web pages can not be achieved, So the dynamic Web site to become the inevitable requirements of maintenance, but due to the existence of a large number of dynamic Web pages, but also caused a certain problem, some full dynamic Web site will lose a lot of users to find opportunities. Of course, these problems are not unresolved, it is important to have a high degree of attention to the network marketing point of view, any technology is to network marketing needs, the effect is the first, as for the use of technology itself is not a goal.

(1) search engine only catch a piece of skin

We often encounter this situation, based on the results of search engine feedback, is the information they need, but when the page is not found that content? Why, then? Because the search engine display information is not real-time retrieval from the Internet, but regularly from the Internet, and then deposit their own database, the user retrieved information is the search engine has collected information, so will be in a very short period of time to feedback a large number of results. The problem is here, the same URL, different periods of content in the change, so that when the user clicks appear is the latest page content, may be included with the search engine content has been completely different, the results of disappointing users. If it is a static web page, this situation does not generally occur. In fact, this is not a search engine error, and through a reasonable design, this situation can also be avoided. Therefore, in order to search results consistent with the user's expectations, on the one hand, as far as possible to use static Web pages, on the other hand, as far as possible to keep the Dynamic Web page content relatively stable.

(2) Web pages cannot be retrieved

To marketing for the purpose of the Enterprise website, who also do not want their own web pages can not be retrieved by the search engine, but in fact some of the use of ASP design site, many content pages can not be search engine retrieval, directly lost the opportunity to be found by users. If a website construction service provider to the customer said that we adopt the way of Dynamic Web page, but your website will not be retrieved by the search engine, I believe no customer is willing to entrust you to do this even if only thousands of Yuan micro-enterprise website. What to do? In fact, there are certain solutions, in general, the use of ASP Program Web site, home generally still can 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 web page to play, that is to say, Should be on the home page to do the article: as far as possible to do a good job site home Search engine worry! If the search engine returns the information has enough valuable parts to attract users to the home page, so that users still have the opportunity from the home page gradually find the information they need. Of course, in many cases there is no need to give yourself a little space to play, it is best to consider the following "static and dynamic combination" proposal.

(3) A few years ago, the Web page has files to check.

In order to study the need, sometimes encountered to find a few years ago the Web page, my own early personal homepage has collected almost all the relevant online marketing articles at that time, but with the computer's many upgrades and personal homepage of the continuous revision, the collection of information has long been removed from the personal site, Only their original articles can be retained, so the once simple problem becomes complicated. However, it is gratifying that, through the United States an Internet Archive collection of Web files (www.archive.org), the content of any HTML static pages can be based on the page link to find the original content, and the use of Dynamic Web technology, at most can find the title list of articles, The contents of the original text cannot be found. It was an unexpected harvest.

(4) static and dynamic combination to static braking

From the point of view of network marketing, of course, the effect of static page is better, but in fact may not be realistic, then can take the method of static and dynamic combination to solve. The combination of static and dynamic has two meanings: on the one hand, for some important, and relatively fixed web pages made for static web pages, such as the package contains rich keywords website introduction, user Help, site map, etc. on the other hand, can be dynamically implemented Web pages through a certain technology, when released after the conversion to static Web pages, This is especially true for Web pages (such as news, etc.) that do not need to be updated ever since they are released. "Static and dynamic combination, static braking" reflects a basic idea of network marketing: Static Web pages can not be used to solve the dynamic Web pages, especially for some important pages must be used in a static way to deal with.

But if the Web page is static for maintenance is very troublesome, so also need and dynamic code to combine. Taking ASP as an example to introduce a dynamic static implementation process, ASP main use of the FSO component implementation to generate static pages, before the development of the program need to do a template, save to the database, so that later call the build and template the same static page. The above is mainly the process of content pages. In the Generation of column page, mainly is the list of the title connection how to decide, there are usually two ways: 1, first determine the rule path, such as the end of the ID, so the path can be determined. 2, in each generation of a content page to define a filename, stored in the database, in the column page in the call, can also be resolved. And so on, in sight on the column page or the first page of the same formation. Template aspects are not described in detail, mainly based on the size of the site, but the definition of how many templates.

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.