<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MCMS tip of the day - how to avoid ugly URLs in MCMS</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/05/11/404769.aspx</link><description>There are two different reasons for ugly URL's on in presentation mode: when using Webauthor and switching to live site when doing a postback in on a form to send data to the server. The following articles discuss different ways to address this: http://blogs.technet.com/stefan_gossner/archive/2004/04/23/118623.aspx</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: MCMS tip of the day - how to avoid ugly URLs in MCMS</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/05/11/404769.aspx#408067</link><pubDate>Fri, 22 Jul 2005 09:30:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:408067</guid><dc:creator>Christian</dc:creator><description>Hi Stefan,&lt;br&gt;&lt;br&gt;We have a (large) customer that does not like the ugly URLs that are associated with resource gallery items.&lt;br&gt;&lt;br&gt;Are you aware of a similar solution for resource gallery items?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Christian&lt;br&gt;</description></item><item><title>re: MCMS tip of the day - how to avoid ugly URLs in MCMS</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/05/11/404769.aspx#408069</link><pubDate>Fri, 22 Jul 2005 10:23:41 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:408069</guid><dc:creator>Stefan_Gossner</dc:creator><description>Hi Christian,&lt;br&gt; &lt;br&gt;that would mean a lot of effort.&lt;br&gt;You need to implement an ISAPI filter that rewrites the nice URL to the Ugly one to allow MCMS to understand it.&lt;br&gt;In addition you need to replace the standard webauthor dialog to insert the resource into the posting with the nice one.&lt;br&gt;Or alternatively you need a HttpModule that replaces the link in the output stream with the nice one.&lt;br&gt; &lt;br&gt;Cheers,&lt;br&gt;Stefan</description></item><item><title>re: MCMS tip of the day - how to avoid ugly URLs in MCMS</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/05/11/404769.aspx#425358</link><pubDate>Sun, 16 Apr 2006 10:09:37 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:425358</guid><dc:creator>Dave</dc:creator><description>Hi Stefan,&lt;br&gt;&lt;br&gt;I've implemented your HttpModule solution to the ugly URL problem (outlined in &lt;a rel="nofollow" target="_new" href="http://blogs.technet.com/stefan_gossner/archive/2004/04/23/118623.aspx"&gt;http://blogs.technet.com/stefan_gossner/archive/2004/04/23/118623.aspx&lt;/a&gt;). It's implemented on an ASP.NET 2.0 website and it works great! &lt;br&gt;&lt;br&gt;However, if I add the following attribute to the Page directive on any of the ASPX pages:&lt;br&gt;&lt;br&gt;MaintainScrollPositionOnPostBack=&amp;quot;true&amp;quot;&lt;br&gt;&lt;br&gt;Then any of the pages that include this attribute report a Javascript error during page load. The error is:&lt;br&gt;&lt;br&gt;Error: Webform_SaveScrollPositionSubmit is undefined.&lt;br&gt;&lt;br&gt;If I remove either your HttpModule, or the MaintainScrollPositionOnPostBack attribute then the pages work again.&lt;br&gt;&lt;br&gt;Have you come across this? Or, do you have any ideas what might be causing the clash?&lt;br&gt;&lt;br&gt;Thanks &amp;amp; regards,&lt;br&gt;&lt;br&gt;Dave.&lt;br&gt;</description></item><item><title>re: MCMS tip of the day - how to avoid ugly URLs in MCMS</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/05/11/404769.aspx#425515</link><pubDate>Tue, 18 Apr 2006 14:46:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:425515</guid><dc:creator>Stefan_Gossner</dc:creator><description>Hi Dave, &lt;br&gt;&lt;br&gt;I haven't used this property.&lt;br&gt;It might be related to the fact that MCMS does not support smart navigation.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;Stefan</description></item></channel></rss>