Asp url rewriting

Source: Internet
Author: User

As mentioned above, the pseudo-static asp url is also very easy to use. net. Let's share some good things!

You can add QQ 282116460 if you don't understand it.

The details are as follows:

Install and configure ISAPI rewrite under IIS to implement ASP static method!

Recently, I have been engaged in Optimization of the search engine of Xiaoxiao station. The effect is still good. From the end of October, the number of 40 IP addresses per day has increased to more than 200. However, the traffic is still too small. It is said that generating static dynamic pages is more advantageous for ranking. I will try it. Fortunately, the server is your own. You can do it as you like.

1. Download and install ISAPI rewrite under IIS.

Download: http://www.isapirewrite.com/download/isapi_rwl_0055.msi

It can be installed anywhere. It is installed in C:/program files/helicon by default. Note that the everyone directory must have the read permission. At that time, I had strict server permissions. By default, the everyone directory of helicon was installed without any permissions, and the result was always: Service unavailable.

2. Configure IIS, open Internet Information Service, right click, web site properties, click the ISAPI Filter tab, Add filter, and enter a rewrite name, specify isapi_rewrite.dll in the path (under the root directory of the software installation.:

3. Add the rewrite rule. Regular, find the installation directory of isapi_rewrite, remove the read-only attribute of httpd. ini, and open edit.

Below are some of my rules.

[Isapi_rewrite]

# Defend your computer from some worm attacks
Rewriterule .*(? : Global. Asa | default/. Ida | root/. exe |/./.). *. [F, I, O]

####### Sdoyouxi.com.cn ################################ ############
Rewriterule ^ (. *)/cy/([0-9, A-Z] * 2.16.html $1/cy/cyshow. asp /? Id = $2 # Set cy/cyshow. asp? Id = XX maps to cy/xx.html

Save and restart IIS. You can see the effect.

Http://www.sdoyouxi.com.cn/cy/cyshow.asp? Id = 600

It's the same effect as http://www.sdoyouxi.com.cn/cy/600.html.


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.