CFFCS Video Center

IIS URL Rewrite for Username (Great for sites that only want the URL to be domain.com/username)

Date: Published:

Viewing: IIS URL Rewrite for Username (Great for sites that only want the URL to be domain.com/username)
IIS (Internet Information Services)

IIS URL Rewrite for Username (Great for sites that only want the URL to be domain.com/username)

Watch on YouTube

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

3:04 2,102 Views 10 Likes 0 Comments
how to do a URL Rewrite for usernamehow to do a username URL RewriteIISIIS URL RewriteURL RewriteURL Rewrite for usernameusername URL Rewrite