How to configure rewrite rules to _win servers in an IIS environment

Source: Internet
Author: User
Tags zip

URL static can enhance search engine crawl, turn on this function need to add corresponding Rewrite rules to the WEB server, and will increase the server burden slightly. This tutorial explains how to configure the Rewrite rules for individual products in an IIS environment.

First, download the Rewrite.zip package, extract to any directory on any disk.

The Rewrite rules for each product are different, please select the corresponding Rewrite rules for the product download.

discuz!6.0.0/6.1.0 Rewrite rules download address: Rewrite.zip

Ucenter Home1.0.0 Rewrite rules download address: Rewrite.zip

Supesite6.0_x-space4.0_uc rewrite rules download address: Iisrewrite.zip

Supev Rewrite rules download address: Rewrite_iis.zip

Download the Rewrite rules for each product and rename them as shown in the following illustration:

Second, the configuration method

The Rewrite configuration method for discuz!, Uchome, Supesite/x-space, Supev is similar, and the following is an example of discuz!6.0.0/6.1.0 rule configuration method in the context of the rules for configuring Rewrite in IIS environments The

In IIS Manager, select the Web site, right-click the properties, as shown in the following illustration:

Select ISAPI filter in the pop-up window

Click "Add" in the image above, and in the pop-up window "Filter Name" fill "rewrite"

Click "Browse" in the image above, choose to download the discuz! after decompression Rewrite.dll files under the Rewrite rules directory

Click "OK" when you have finished browsing

Add finished click "OK"

Restart IIS

Re-select the site => the "properties" => "ISAPI Filters" and if you see a green arrow with a status up, the Rewrite module is installed successfully.

Rewrite rule configuration was successful, but this time browsing forum address is still not pseudo static, but also need to go to the forum background to do the appropriate settings can.

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.