On 06 Dec 2010, at 23:20, Lewis Leighton wrote:
> > Hey Greg, > > It half worked as it removed the "html" part of the URL on some links but not > others. Have you been able to pinpoint in which links that was the case ? > It left the "." in the URL on all links. Okay, that's probably something we could fix. > And you are right the content-type did get screwed up on some pages, they > were rendered as plain text... > Yeah, that's kind of an issue... I just reported this: http://jira.magnolia-cms.com/browse/MAGNOLIA-3452 See also the linked issues. But it's also something that can be easily fixed "locally", if you can write a simple javax.servlet.Filter implementation (or patch/extend one of the existing ones) and add it to the chain of magnolia filters. -g > > > On 6 Dec 2010, at 18:23, Grégory Joseph <[email protected]> > wrote: > >> >> Hey Lewis, >> >> Did this actually work for you? I'm suspecting pages rendered with the .html >> extension might end up with the wrong content-type, if rendered at all. >> >> Can you let us know ? >> >> Cheers, >> >> -greg >> >> On 06 Dec 2010, at 13:46, Zdenek Skodik wrote: >> >>> >>> Sure, I only wrote this: >>> >>> >>> Hi Lewis, >>> >>> yes, we offer such a configuration - see >>> Configuration:/server/defaultExtension property. >>>>> >>>>> On Mon, 2010-12-06 at 08:48 +0000, Lewis Leighton wrote: >>>>>> Hi, >>>>>> >>>>>> Apologies I originally sent this to the dev list. >>>>>> >>>>>> Is it possible to remove the .html extension from any internally >>>>>> referenced Magnolia CMS page links? Currently I'm using the >>>>>> CMSU.simpleNavigation component in some of my templates but this appends >>>>>> ".html" on to the end of each link - this is not desirable for SEO >>>>>> purposes. >>>>>> >>>>>> Is there a configuration setting in Magnolia that allows this to be >>>>>> changed? Or are there any alternative approaches that would achieve the >>>>>> same outcome? >>>>>> >>>>>> Many thanks in advance, >>>>>> >>>>>> Lewis Leighton >> >> >> >> ---------------------------------------------------------------- >> For list details see >> http://www.magnolia-cms.com/home/community/mailing-lists.html >> To unsubscribe, E-mail to: <[email protected]> >> ---------------------------------------------------------------- >> > > ---------------------------------------------------------------------------------- > > The information in this email is confidential and may be legally privileged. > It is intended solely for the addressee. Access to this email by anyone else > is unauthorised. If you are not the intended recipient, any disclosure, > copying, distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. > > QMetric Group Limited company number 07151701 the registered office of which > is at 3 More Riverside, London, United Kingdom, SE1 2AQ. > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
