CFFCS Video Center
IIS URL Rewrite for Username (Great for sites that only want the URL to be domain.com/username)
Date: Published:
IIS (Internet Information Services)
Watch on YouTube
IIS URL Rewrite for Username (Great for sites that only want the URL to be domain.com/username)
In this lesson, we are going to install the URL Rewrite module to our IIS 10.
This can be used on IIS7 and above.
We will then create a RULE that will allow us to grab the username from our URL string, and display its information.
Download
https://www.iis.net/downloads/microsoft/url-rewrite
Codes that I used in this lesson are:
(Either of the below patterns will work in this case)
Pattern: ([_0-9a-z-]+)
(OR)
Pattern: ^([^/]+)/?$
Rewrite URL: profile.asp?username={R:1}
Thank You
Wayne Barron
CFF Coding Source
http://www.cffcs.com
https://twitter.com/CodingSource
http://www.thespotlight.news/Coding_Source