Last post Apr 25, 2011 08:07 AM by exorbitant
Feb 25, 2011 07:09 AM|exorbitant|LINK
I am using Intellegencia URL Rewiter and I've written rules like this:
\.js|.axd|.swf)(\?.+)?)$" to="$1" processing="stop" />
<rewrite url="Home" to="~/Default.aspx" processing="stop" />
<rewrite url="Company" to="~/Contents.aspx?id=1"
<rewrite url="Vision" to="~/Contents.aspx?id=2" processing="stop" /
<rewrite url="Congrats/(.+)/(.+)/(.+)" to="~/Contents.aspx?
id=26&fn=$1&ln=$2&un=$3" processing="stop" />
Now, the problem is that when I am on "Congrats" page, it takes me to congrats page and its the url at that time: http://localhost:52726/URLRewriteTest/Congrats/querystring1/querystring2/querystring3. Now, on congrats page, when I click on Home, then it
takes me to Home page as defined in rules but all images looses its correct path and rather than url http://localhost:52726/URLRewriteTest/Home, it shows url http://localhost:52726/URLRewriteTest/Congrats/querystring1/querystring3/Home.
Moreover, now on this page, all images disappears because of wrong path as it tries to find images in http://localhost:52726/URLRewriteTest/Congrats/querystring1/querystring2/images directory (that is of course wrong path) rather than http://localhost:52726/URLRewriteTest/images
directory. Please help me to sort out this problem.
Feb 25, 2011 11:34 PM|stanly|LINK
Give full path of images..
Feb 26, 2011 03:20 AM|exorbitant|LINK
Thank you Stanly for your response.
But my problem insn't resolved fully. My problem is "wrong" URL. When I am on Congrats/querystrin1/querystring2/querystring3 and click on Home then I want it should take me to Home simply rather it takes me to Congrats/querystring1/querystring2/Home that
is not correct. It'll definately cause problem as at this point if again I'll go to Congrats/querystring1/querystring2/querystring3 page then the URL will be like this: Congrats/querystring1/querystring2/Congrats/querystring1/querystring2/querystring3 and
there will be no end of it I think. So, I think there is something else I am missing, I guess. Maybe some rules needs to add/change. But I've no idea about it.
Please guide me to sort out this issue.
Feb 28, 2011 02:51 AM|exorbitant|LINK
Am I the only 1 in the world who is facing problem with multiple query strings using Intelligencia Rewriter??? Have not anyone else in the worlds tried it for multiple querystring ever yet?
Apr 12, 2011 07:57 AM|moh'd|LINK
No you are not the only one in the world now we are two , am trying to solve it , if you knew how to solve it please
spread the word.
Apr 25, 2011 08:07 AM|exorbitant|LINK
Couldnt solve it yet... unfortunately