The whole station static explanation of the old Y article management system

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

This article I first posted in my blog (NET Earn blog), and later found that the contents of the place, today modified a bit, the heavy hair here. As we all know, the old Y article management system is unable to generate static HTML page, which also led to a lot of use of old Y station included very unsatisfactory, this article is mainly about how to solve the old Y article management system of the whole station static problem, by the way to solve the static page click Volume problem.

First, say the old Y article the whole station static step of the management system

1, point this download old Y article management system station static source code, and decompression;

2, the "Static generation" folder under the four ASP files admin_titlehtml.asp, all_html.asp, classhtml.asp, admin_class.asp coverage to the site's Admin folder;

3, open "admin/left.asp", find the following code:

<li><a href= "admin_class.asp" target= "main" > Column Management </a> | <a href= "Admin_class.asp?action=add" target= "main" > Add </a></li>


<li><a href= "admin_article.asp" target= "main" > Article Management </a> | <a href= "Admin_article.asp?action=add" target= "main" > Add </a></li> adds the following two sentences:


<li><a href= "classhtml.asp" target= "main" > Classification generates static </a></li>


<li><a href= "all_html.asp" target= "main" > Content generation static </a></li>

That is, add links to "classhtml.asp" and "all_html.asp" in "left.asp";

4, will extract the "clicks" folder in the three ASP files conn.asp, count.asp, index.asp files to the Web site's HTML folder.

5, login backstage, article Management-classification to generate static, can be all classified pages generated static HTML.

6, article Management-content generation static, where all the articles generated static can be. If the article is more, this process will be longer, please be prepared psychologically. In this way, all pages of the site generate HTML static files.

7, open the data directory of the MDB database file, find the ***_config datasheet (I modified the default table prefix), open to find line 28th, the values column to change the contents of "1=> Dynamic | | 2=> pseudo Static | | | 3=> static ".

8, login background, site configuration-site display mode, set to "static." After this step, the static of the old Y article management system is completed.

Current problems:

If there is pagination, static is invalid, this makes people very uncomfortable, but seemingly there is no perfect solution, if there is a good method, can be a lot of advice, thank you!

Related Article

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.