urlrewriter.net

Rewriting a Url which can contain 1 or 2 querystrings with URLRewriter.NET ?

Hi, In my project, my /PropertDetail.aspx can get 2 querystrings. 1st one for the PropertyId /PropertDetail.aspx?PropertyId=5 2nd one for the Language /PropertDetail.aspx?PropertyId=5&Language=2 EDIT: and this page can get one of them or can get both of them, so my rewriter rule needs to handle both of them So, i have set these ru...

URL Rewriter.NET web.config node issue

I'm using URL Rewriter.NET (which I'm liking a lot, by comparison to URL Rewriting.NET - more versitile it seems, don't get me wrong, I like URL Rewriting.NET, but it didn't seem to satisfy the need, given what I know of the tool). I'm trying to use the default-documents node to redefine the default documents for the site. I've tried add...

URL Rewriting in .NET behaves badly with cookieless sessions

I'm currently using Intelligencia's URL Rewriter .NET HTTPModule to rewrite URLs. I am using its Custom Transform feature, which allows me to supply an assembly containing a method that performs the actual URL transform. I have cookieless sessions turned on, and this is causing some interference with the URL Rewriter. So, let's sa...

Which one is better ? URLReWriter.net or URLReWriting.NET

I don't know whether you've been come across urlrewriter.net because as I've seen so far urlrewriting.net is kinda more popular. Could someone please tell me which one is actually easier to implement and more powerful? Thanks... ...

Keep old URLs when implementing UrlRewriter.net

I added UrlRewriter.net to my site today and it works fine with redirecting my SEO links to actual pages. The question is if there is any way to keep my old links in site and have ResolveUrl() using the rules to output links in my page. The "old" links should never be viewed by either search bots or users. Example link in page: <a href...

URL Re-Writing ASP.NET ( UrlRewriter.net )

Ok we have the following re-written URL using UrlRewriter.net /category/games/21 using the following expression. <rewrite url="~/Category/(.+)/(.+)" to="~/category.aspx?CatId=$2" /> however google can attach the following, /category/games/21?gclid=clickIdHere this would need to be re-written to, /category.aspc?CatId=21&gclid=cl...

Url Rewriter works on localhost but not on production server

I've gotten URLRewriter to work on my localhot perfectly, but on production I get 404 errors. I'm using IIS 6, and from what I read this should just work. Here is what i have in my web.config: <rewriter> <rewrite url="~/(\d+)$" to="~/Items/Details.aspx?ItemId=$1" /> <rewrite url="~/Items/(\d+)$" to="~/Items/Details.aspx?Item...

urlrewriter.net / c# / I just don't get it

Hi all, I want to implement url-rewrite into an webapplication with the urlrewriter.net module. This is my scenario now (numbers are fictional): Browse.aspx?cid=9&countryid=85 (cid stands for category id) Now I want something like this categoryname/countryname.html So i figured this might work but it doesn't. Its my first time using ...

Intelligencia UrlRewriter.NET not working properly on IIS 6?

I'm having an issue getting the following syntax to work: <rewriter> <!-- This does NOTHING --> <if url="whywontthiswork\.aspx" rewrite="/default.aspx" /> <!-- This redirects correctly --> <redirect url="whywontthiswork\.aspx" to="/default.aspx" /> </rewriter> As noted, the first rule does nothing no matter what I try...

urlrewriter.net project stopped?

Hi, I just tried to download the URL rewriting module from urlrewriter.net but the website has been replaced by a standard PLESK page. Has the development of this tool been shut down or is it just a temporary downtime? Could anyone provide the current version of the tool? That would help me a lot since the module is used in the book I a...

How to debug UrlRewriter.NET?

I have looked at their help page it seems like I can register a debug logger that outputs information to the 'standard ASP.NET debug window'. My problem is I don't know what that means, if it means the debug output window in Visual Studio (where you see build output, debug output and more) I am not seeing any UrlRewriter debug output. ...

UrlRewriter.net Expression Examples

Hello, I need some web.config examples for each expression types below : $number The last substring matched by group number number. $<name> The last substring matched by group named name matched by (?< name > ). ${property} The value of the property when the expression is evaluated. ${transform(value)} The result of calling the ...

Default document on GoDaddy when using UrlRewriter.net

I've got an Asp.net site set up on GoDaddy which is using UrlRewriter.net (not to be confused with UrlRewriting.net) to enable url rewriting which seems to be working ok, though I had to set IIS to run in IIS6 mode, rather than IIS7. The problem I have is that my default document is 'virtual' so while it's possible to browse to mydomain...

Need help with this Regex + UrlRewriter.NET please :)

Previously, on StackOverflow ... (Summarized) I need to capture all requests, for a particluar subdomain .. and rewrite their destination. Now, the trick to determining the host via regex was solved. Now, i need to make sure all requests to the root index page is rewritten, but i can't figure out the correct regex to find...

Using CakePHP with GoDaddy IIS 7 IIS7 and Microsoft URL Rewriter

Hi, I'm trying to move a CakePHP app from a Windows Apache setup to a GoDaddy shared IIS7 setup. It's been easy to migrate except for the Apache mod_rewrite part -- which obviously wouldn't work in IIS7. I basically have no url rewriting capability, which is crucial for Cake to work. GoDaddy now offers MS URL Rewriter, but they don't off...

how to convert Apache mod_rewrite rules to Microsoft URL Rewriter IIS7?

can someone tell me how to convert apache iis7 mod_rewrite .htaccess file to the equivalent web.config in MS Url Rewriter? Here is the .htaccess file I have: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] </If...

URLRewriter.net with multiple querystring separated by /

I have been looking around the site a bit, but I didn't find any replies on how to do it the way I want. What I want is an URL like this: www.example.com/Projects/"querystring1 - text only"/"querystring2 - 4 digits only"/ to show the page with this URL: www.example.com/Projects.aspx?Region=querystring1&Zip=querystring2 What I have b...

urlrewriter.net page not executed

Hello, I'm having some problems with the module urlrewriter.net for ASP.NET. I have a multilingual site with a URL like this; ~/home.aspx To support languages I use this rewrite rule; <rewrite url="~/de-DE/(.*)" to="~/$1"></rewrite> Then in my code I get the de-DE part and set the right culture for the current thread. All of this...

URL ReWriter for .NET

I am using this, but I have some hard to solve problems. This is part of my code: <rewrite url="/Dictionary/(.+)/(.+)" to="~/Dictionary.aspx?page=$2&amp;&amp;word=$1"/> <rewrite url="/Dictionary" to="~/Dictionary.aspx"/> When I type links like mywebsite.com/Dictionary/cat/4 the site loads only mywebsite.com/Dictionary. ...

Why URLRewriter.NET doesn't get querystring values?

I just started using URLRewriter.net with my blog and I have a problem with getting the query string values. I have a rule setting like: <rewrite url="~/blog.aspx(\?.+)?$" to="~/hiddenFolder/blog.aspx?mode=default&amp;$2"/> But when I try to access /blog.aspx?page=1 the page parameter is not passed. Other parameters work great and...