For the last couple hours I tried to create a ReWrite Rule in IIS which does meet my requirements, but I just don't get it. So maybe someone can help me out :-)
What I have till now is the following:
Rewrite URL
index.php?page={R:1}¶m={R:2}
RegEx Pattern
^(.*)/([0-9]+)
This is how I'd like to write my URLs at the end:
In this example I should have "news/detail" in "?page" and "1" in "?param".
With the rule I created so far that seems to work quite good, as long as I have a number at the end (param).
My only problem is that I want to make the number (param) optional.
Thanks a lot for your support.