Hi guys. I have a client who has a *really* big site and some really terrible URL's to go with 90% of it. I am working with the sites developers to try and make improvements in terms of the SEO, and was told something that I didn't actually realise about IIS. There is a limit to the number of URL's you can redirect (mod_rewrite style) using ISAPI_rewrite. I was told that rather than producing rules in RegEx to rewrite the URL's, that you essentially say "Redirect (x)url --> (y)url". I was also told that the config file these URL's are stored in can't be any larger that 2 megs. Is this true? Anyone have any experience of using ISAPI_rewrite on IIS? Any information would be appreciated - I've tried searching for isapi_rewrite limits, but couldn't find anything...
I don't know about the 2 MB issue, but you can definitely do a redirect without regex. Here's an example for a permanent redirect via ISAPI Rewrite: RewriteRule /somepage.htm http://www.yoursite.com/somepage2.htm [I,O,RP,L]
But that's it, I*do* wan't to use regex... If I can set rules rather than individually rewriting each URL it's going to make life a million times easier.
Ah, I must have misread your original post. In any case, it's the same anyway. You just put the regex instead of a direct file.
I don't know anything about the mod_rewrite in Apache...so, I cannot speak on it. Sorry. All I am qualified to speak on is the ISAPI Rewrite.
We've had to do this... you have to install an IIS module from helicon ($30) and it works with a config file pretty much like you use htaccess - regex and all. don't know about file limit - I'm SURE you'll fit it into 2meg though
We also have the IIS module from Helicon installed. Very easy to work with and their support is pretty good as well.
Oliver, I'm not sure but this might help you. http://www.iismods.com/ Open Source Mod Rewrite for IIS that is not ISAPI Rewrite.