Essentially, I’m looking for help with creating an IIS URL rewrite rule to support the following:
Existing modified BlogEngine.NET v1.5 style post URL:
BlogEngine v2.0 style post URL:
I need a rule that will accept the prior and redirect/rewrite to the latter. I’d prefer whatever option has a minimal SEO affect.
My blog software is BlogEngine.NET v1.5 and I want to upgrade to 2.0 to take advantage of a number of new features. When I moved to BlogEngine.NET several years ago one of the things I wanted to maintain was support for my dasblog style URL’s which didn’t include “/post” in the path. Back then I tweaked BlogEngine to remove the “/post” path from post URLs but when looking to upgrade to v2.0 I see there were significant changes so my code wouldn’t port easily especially considering I’m no longer running Windows except in a VM on OSX and only have access to the VS.NET Express which doesn’t support multiple projects in a solution making debugging this issue pretty difficult since the code is in a satellite assemble and not the core website.
As an alternative I’m considering simply rewriting/redirecting my old URL’s to include “/post” in the path though I’ve done some playing around in the IIS Manager but have yet to achieve the desired result.
That’s where you (hopefully) come in. I’m pretty sure this is possible but need help creating the necessary rule(s). I’ve got BE v2.0 setup on my domain so I can conduct testing using this alternative path quickly.
Thanks in advance…
Just FYI, I’m getting so much comment spam on BE v1.5 I’ve closed comments after two weeks so if they’re closed please use my contact link instead. Thanks.