Hi!
I implemented URLRewrite in my asp.net project. After URLRewrite, CSS and Images stopped working.
Before my URL was:
http://localhost:2095/cf/Recipedetails.aspx?rid=50
After URLRewrite:
http://localhost:2095/cf/Recipedetails/50/This-is-a-wonderful-and-mouthwatering-recipe
I tried to exclude CSS and Images from URLRewrite by using the code below. Unfotunately, it is not
working as intended.
<rewrite url="^(/.+(\.gif|\.png|\.jpg|\.ico|\.pdf|\.css|\.js)(\?.+)?)$" to="$1" processing="stop" />
Can anyone help me by providing a correct rule for excluding CSS and Images from URLRewrite.
Ranjith
...
Go to the complete details ...