Asp implements false static

Source: Internet
Author: User

For many reasons, the space of many friends does not support FSO,
In addition, when a large number of pages generate static pages, a large amount of space is occupied,
It is inconvenient to modify the style,
Therefore, dynamic pages have the benefits of dynamic pages,
However, our webmaster hopes that all pages are static pages.
Because static pages are easily favored by search engines,
So I want to use Asp to implement false static obfuscation for search engines,

For example, we want to access view. asp? Id = xxxx

Jump from a connection
<A href = view. asp? Id = <% = xxxx %>. html> How to Implement false static data </a>

Add simple code to View. asp.

Copy codeThe Code is as follows: <%
Dim id
Id = replace (request ("id"), ". html ","")
%>

In fact, this is a very simple time. Why did we never think of it before,
Why should all pages be static?
In my personal Blog, article system, and news system, I think this application is more necessary ..

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.