Google can search dynamic pages without converting them to HTML pages.

Source: Internet
Author: User
Tags html page iis
As the number of websites on the Internet increases, the promotion of websites is increasingly dependent on the search results of the search engine. How to make the search engine better serve the site is closely related to improving site access. A search engine is not a gift from God to the Internet. It is a site and constructed by various programs. Various search engines generally use a technology called a search engine robot, which accesses websites on the Internet according to certain rules, and collect valuable pages to the cache database of the search engine for storage. Once a user searches, the search engine directly caches the search results and reports the results to the user.

The search rules of search robots are complex, but one of the most important rules is that the search robots are better at processing static pages than dynamic pages. In general, the robot simply converts the static page into a page with the extension of .html#.htm, and the pages with the extension of. ASP,. PHP, and. CGI into dynamic pages. In other words, if a website is a .html page, the search engine's full-text search may be several orders of magnitude higher than the. PHP page. Of course, the access traffic will be much higher.

The simplest way to convert all the content of your website to static pages is to use page design software to directly form static pages on each page. This is not difficult for small websites, however, manual static page design for tens of thousands of large and medium-sized websites brings high costs and difficulties in saving and modifying pages. In this situation, the fund-heavy website will be able to manage the content management (CMS) system of the .html file. There is no such thing as a manual. Html file and a generated. HTML file.

However, there are still a considerable number of medium-sized sites that use the CMS system that is dynamically released. The dynamic system is highly efficient in updating webpages and can be displayed at the front-end at the same time, the disadvantage is that you need to consume a considerable amount of server resources and get a bunch of extensions. ASP. PHP page. It is not easy to completely replace the CMS system, and mature CMS systems with static page background generation functions are expensive.

Does the dynamic CMS system have a simple method for obtaining the. Html file extension? Of course, the URL Rewrite function is used.

The support for URL rewriting and redirection is completed by a non-default module (mod_rewrite) on the Apache server. This module is powerful and cumbersome. Similar modules are available in IIS, including isapi rewrite and iis rewrite. The rewrite and redirection syntax is based on regular expressions, regardless of Apache or IIS. Of course, for the general application, there is no need to familiarize all the manuals and instructions, the following is a virtual http://www.1234567.com dynamic site as an example to introduce some simple methods, you can make adjustments based on your website.

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.