There are two different reasons for ugly URL's on in presentation mode:
The following articles discuss different ways to address this:
We have a (large) customer that does not like the ugly URLs that are associated with resource gallery items.
Are you aware of a similar solution for resource gallery items?
that would mean a lot of effort.
You need to implement an ISAPI filter that rewrites the nice URL to the Ugly one to allow MCMS to understand it.
In addition you need to replace the standard webauthor dialog to insert the resource into the posting with the nice one.
Or alternatively you need a HttpModule that replaces the link in the output stream with the nice one.
I've implemented your HttpModule solution to the ugly URL problem (outlined in http://blogs.technet.com/stefan_gossner/archive/2004/04/23/118623.aspx). It's implemented on an ASP.NET 2.0 website and it works great!
However, if I add the following attribute to the Page directive on any of the ASPX pages:
Error: Webform_SaveScrollPositionSubmit is undefined.
If I remove either your HttpModule, or the MaintainScrollPositionOnPostBack attribute then the pages work again.
Have you come across this? Or, do you have any ideas what might be causing the clash?
Thanks & regards,
I haven't used this property.
It might be related to the fact that MCMS does not support smart navigation.