ASP Website programs are widely used in China, but they are similar to im286.asp? URLs like id = 20050307213811 are not conducive to search engine indexing, that is, they do not comply with the URLs-friendly standard. Then we use isapi_rewrite to create a clean URL, let the spider crawl your site with joy.
Not much nonsense. Start work!
1. download the isapi_rewrite.isapi_rewrite lite and full versions. the lite version does not support rewriting of each virtual host site and can only be processed globally. however, for friends with servers, the lite version is enough. lite version: http://www.helicontech.com/download/, lite Lite version (free.
2. Install the. MSI file, just like the general program, and install it in D: \ isapi_rewrite.
3. the next step is important. Take a look. open Internet Information Service, right-click, web site properties, and the e-ISAPI Filter tab. add a filter, enter the name, specify isapi_rewrite.dll in the path, and then confirm.
4. Test it. Create a New 1ting. asp, and write it in it.
The result is 1ting. asp? Inso = * Browser display *.
5. This step is very important. It is a headache to add rewrite rules. Regular Expressions. Fortunately, this example is relatively simple.
Find the isapi_rewrite directory, remove the read-only attribute of httpd. ini, and open edit. We want to delete 1ting. asp? Inso=im286 is of the 1ting-im286.html type. You need to add the following line to httpd. ini:
, Save.
6. Come and see the results in the browser. Enter http: // 127.0.0.1/1ting. asp? Inso = im286 and http: // 127.0.0.1/1ting-im286.html. Are all displayed im286? This proves the success!
, 1ting-im286.html is better than 1ting. asp? Inso = im286 is easy to generate, so if you are still using the dynamic method, you can try this static ing effect. IIS rewrite can also implement this function.
Afterwards: The feasibility may not be too strong. I just discuss it from a purely technical point of view. I have made a picture of my bricks. The last injury has not been well-developed yet. # ASP Column