URL Rewrite is a module for Windows IIS (Internet Information Service) web server, which allows Web administrators to easily build powerful rules to manage links on your site. To use this module you must need to enable it in IIS. The question is here, How do I enable the URL Rewrite module in the IIS web server on Windows?
Enable URL Rewrite in IIS
You can use Microsoft Web Platform Installer to install URL Rewrite module. Alternatively, visit below URL and download this module and install it.
After installation, you will find the URL Rewrite option under the HTTP features section in IIS settings. Now, you can add own rewrite rules. This also allows importing rules like from .htaccess.
Enable Application Request Routing
You may also require enabling Application Request Routing (ARR) with the Rewrite module. IIS Application Request Routing offers administrators the ability to create powerful routing rules based on the URL, HTTP headers, and server variables to determine the most appropriate Web application server for each request. You can configure your IIS to work as a load balancer using this module.
Visit the below URL and download the given extension. Install this on your system to enable the extension in IIS.
Does not work with IIS 10 on Server 2019 STD