Static URL can improve search engine crawling. To enable this function, you need to add the corresponding rewrite rules to the Web server, which will slightly increase the server load. This tutorial explains how to configure rewrite rules for each product in the IIS environment.
1. First download the rewrite.zip package and decompress it to any directory on any disk.
The rewrite rule packages for each product are different. Select the corresponding product to download the corresponding rewrite rule.
Discuz! 6.0.0/6.1.0 Rewrite Rules: rewrite.zip
Ucenter home1.0.0 Rewrite Rules: rewrite.zip
Rewrite Rules for supesite6.0 _ X-Space4.0_UC: iisrewrite.zip
Supev rewrite rule: rewrite_iis.zip
Download the rewrite rules for each product and rename the rules, as shown in:
Ii. configuration method
Discuz! The rewrite configuration methods of uchome, supesite/X-space, and supev are similar. The following uses discuz! The rewrite rule configuration method of 6.0.0/6.1.0 is used as an example to explain how to configure rewrite rules in the IIS environment.
In IIS manager, right-click a website and choose Properties, as shown in:
In the displayed window, select "ISAPI filter"
Click "add". In the displayed window, enter "Rewrite" in "Filter Name"
Click Browse on the page and select the discuz after downloading and unzipping! Rewrite. dll file under the rewrite rule directory
Click "OK" After browsing"
After adding, click "OK"
Restart IIS
Right-click the site and choose "attribute"> "ISAPI filter". If the Green Arrow is displayed, the rewrite module is successfully installed.
The rewrite rule is successfully configured. However, browsing the Forum address is still not pseudo-static at this time. You need to configure the rewrite rule in the background of the Forum.