Mobile app version of vmapp.org
Login or Join
Bethany197

: IIS 7 URL Rewrite Rule using query string variable Trying to create a URL Rewrite rule for IIS 7.5 to read the query string parameter and redirect requests to a new URL structure - for example:

@Bethany197

Posted in: #Iis7 #QueryString #UrlRewriting

Trying to create a URL Rewrite rule for IIS 7.5 to read the query string parameter and redirect requests to a new URL structure - for example:
www.example.com/people/profile.aspx?dw
to a new more SEO friendly URL at:
www.example.com/our-people/profiles/dw
Any good examples or guidance?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Bethany197

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

You'll want to make sure you have the Microsoft URL Rewrite Module installed, and create a rule template as covered step-by-step here:

IIS.net - User Friendly URL - rule template

The other way to do this is edit your web.config file, as covered here (substituting your URL's under "The lines to modify...").

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme