troubleshooting Question

IIS 10 - URL Rewrite Rule for Search Query, not working?

Avatar of Wayne Barron
Wayne BarronFlag for United States of America asked on
* iis10Microsoft IIS Web Server* URL Rewrite Rules
9 Comments1 Solution102 ViewsLast Modified:
Hello, All.
(The development is done in ASP Classic (VB), in case I need to do something within the code.)

In the website, our search string is displayed as such.
Main.asp?Type=Results&Submit=Search&Term=KISS&Cat=3

Our URL Rewrite is this.

Pattern: Search/([_0-9a-z-(-)-,-]+)/([_0-9a-z-(-)-,-]+)
Rewrite URL: Main.asp?Type=Results&Submit=Search&Term={R:1}&Cat={R:2}

Screenshot of the RULE
URLRewrite
How can I make the Search Query work, so that when you click search, it rewrites the URL to this?

Search/KISS/3

Thanks.
Wayne
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros