[TYPO3] CoolUri Configuration
Daniel Selinger
typo3 at dselinger.info
Thu Jun 28 16:08:22 CEST 2007
Hi,
here's the complete config:
<?xml version="1.0" encoding="utf-8"?>
<cooluri>
<cooluris>1</cooluris>
<urlsuffix>.html</urlsuffix>
<removeparts>
<part>startseite</part>
</removeparts>
<cache>
<usecache>1</usecache>
<params2cool>
<checkforchangeevery>1</checkforchangeevery>
</params2cool>
<cool2params>
<translateifnotfound>0</translateifnotfound>
<oldlinksvalidfor>365</oldlinksvalidfor>
</cool2params>
<cacheparams>0</cacheparams>
<pagenotfound>
<status>HTTP/1.0 404 Not Found</status>
<behavior type="message"><![CDATA[ <h1>Page not found!</h1>
]]></behavior>
</pagenotfound>
</cache>
<pagepath>
<title>title,alias,subtitle</title>
<saveto>id</saveto>
<default>0</default>
<userfunc>tx_cooluri->getPageTitle</userfunc>
<urlize>1</urlize>
</pagepath>
<uriparts>
<part>
<parameter>tx_ttnews[tt_news]</parameter>
<lookindb>
<to>SELECT title FROM tt_news WHERE uid=$1</to>
<translatetoif>
<match>^[0-9]+$</match>
</translatetoif>
<urlize>1</urlize>
</lookindb>
</part>
</uriparts>
<predefinedparts>
<part>
<parameter>cHash</parameter>
</part>
<part>
<parameter>no_cache</parameter>
</part>
</predefinedparts>
<valuemaps>
<valuemap>
<parameter>L</parameter>
<value key="de">0</value>
<value key="en">1</value>
<value key="fr">2</value>
<value key="cn">3</value>
</valuemap>
</valuemaps>
<paramorder>
<param>L</param>
</paramorder>
<removetrailingslash>1</removetrailingslash>
</cooluri>
2007/6/28, Jan Bednarik <info at bednarik.org>:
>
> Hi,
>
> > <urlsuffix>.html</urlsuffix>
>
> the problem is definitely with the suffix. It's not cached well. I'll
> fix it. Until then use URIs without suffix.
>
> --
> Jan Bednarik
> www.bednarik.org - web about Typo3 in czech
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list