Hello!
I have a problem with infinite redirects if try to click/open a block post. I read many articles/blog posts and so I think to roughly understand what's wrong but have no idea to fix it properly.
Problem description:
- My Dnn is installed in subfolder of shared hosting service. let's call the folder "dnndir"
- in the root folder of the hosting service I use a web.config just for the purpose to use IIS URL-Rewriting. So all URL are "rewritten" to /dnndir . This has the benefit that my url don't show the "dnndir" (www.mydomain.com/... instead of www.mydomain.com/dnndir/...)
- This works all very nice except with the blog module, because of the following:
The blog module module sets as permanlink a link without the "dnndir" in the url (which is nice). But when the request to the blog entry comes the url is rewritten (by IIS7) to "dnndir". Because the "dnndir" is not in the Permalink the blog module now "thinks" it must redirect to the permalink. And then the loop starts again.
If manually add "dnndir" to the permalink in the database then the blog entry get's loaded correctly. But of course it's not nice to manully update the database after each blog entry and it's also not preferable to have the permalink include "dnndir".
So my question is how can I change/turn off the blog modules redirection behavior? Can the problem be fixed with a change to the blog module? If no, could it be fixed by changes to the blog module (for future releases)?
Any help/ideas would be very welcome.
Thanks
Johannes