Hello. I'm having difficulty with the Friendly rewrite system on the default.aspx.
If I disable friendly url's for the homepage (aka Page Settings -> Do Not ReWrite), it breaks all the modules on it (displaying red error boxes); so that isn't an option, nor should it be - we want friendly url's. We also want google analytics.
I am using google analytics for links, which requires the url to have certain query variables in the GET request.
Unfortunately, DNN is removing them on default.aspx, and rewriting like so:
Which is incredibly frustrating, because there isn't a single page anywhere in any place on the entire internet let alone my website, that could ever possibly reside under that rewritten url. It's entirely pointless. It doesn't even do a page search, it just results in the homepage being shown.
Forgive me for not understanding the logic behind this rewrite rule, or whatever it is.
It works on all other pages. Not the homepage. And we need a resolution !
I have tried a catch all regex ( .*utm_source.* ):
Works, but results in a null reference exception in DotNetNuke.Entities.Portals.PortalSettingsController.ConfigureActiveTab
Seriously, no effect?!?!?
again.... no effect.
Can anyone suggest a resolution for this problem?
Do I need to write a custom Friendly URL provider, and somehow block the default DNN system from operating on the default.aspx page?
Is there a web.config manipulation I could make in the Friendly URL regex to handle this requirement?
Any suggestions would be great, please and thank you!!