Iis7.5 and Yiyi iis6 have changed a lot. Next I will introduce how to configure 7.5 redirection (URL rewriting) in Windows IIS 301. It is helpful for you to dismiss iis7.5.
Background:
If you need to change the webpage URL according to the style shown in the seo search engine results, we recommend that you use server-side 301 redirection. This is the best way to ensure that users and search engines are directed to the correct webpage. The status code 301 indicates that a webpage has been permanently migrated to the new location.
301 redirection is particularly useful in the following situations:
1. You have moved your website to a new domain and want to complete the conversion as smoothly as possible.
2. People visit your website through different websites. For example, if you can access your home page in multiple ways, such as http://example.com/home?http://home.example.com or http://www.example.com, select one of them as the preferred (standard) Target URL, it is a good method to send traffic from other websites to the preferred website through 301 redirection.
3. You are merging two websites and want to ensure that the link pointing to the expired website is redirected to the correct webpage.
Configuration example:
1. Redirect the traffic in the specific path after the first-level domain name to the second-level domain name: http: // domain name. me/archives/1114-> http: // blog. domain name. me/archives/1114
Click the "URL rewriting" function module under the first-level domain name, add blank rules, enter the corresponding regular expression in the mode, and then click "test mode" to check whether the expression is correct, the brackets in the regular expression can be dynamically captured.
2. Redirect access to sub-directories under the first-level domain name to the second-level domain name: http://www.bKjia. c0m/api-> http://www.bKjia. c0m