[TYPO3-english] RealURL tricky if there are postvars
Taras Sajuk
taras.sajuk at googlemail.com
Thu Mar 26 11:35:17 CET 2009
Unfortunately the filename can be different here is my filename part:
> 'fileName' => array (
> 'index' => array(
> 'rss.xml' => array( 'keyValues' => array( 'type' => 100)),
> 'rss091.xml' => array( 'keyValues' => array( 'type' => 101)),
> 'rdf.xml' => array( 'keyValues' => array( 'type' => 102)),
> 'atom03.xml' => array( 'keyValues' => array( 'type' => 103)),
> 'atom.xml' => array( 'keyValues' => array( 'type' => 104)),
> 'feed.xml' => array( 'keyValues' => array ('type' => 100)),
> 'page1.html' => array( 'keyValues' => array
> ('tx_rlmpofficeimport_pi1[page]' => 1)),
> 'page2.html' => array( 'keyValues' => array
> ('tx_rlmpofficeimport_pi1[page]' => 2)),
> 'page3.html' => array( 'keyValues' => array
> ('tx_rlmpofficeimport_pi1[page]' => 3)),
> ... line repeated here with other page numbers ...
> 'page40.html' => array( 'keyValues' => array
> ('tx_rlmpofficeimport_pi1[page]' => 40)),
> 'index.html' => array( 'keyValues' => array ()),
> '_DEFAULT' => array( 'keyValues' => array ()),
> ),
> ),
>
so the quick fix won't help here.
I thought the '_DEFAULT' part does the job to catch all variatios of the
filename. But why does it not work if the PostVarSet is triggered?
BTW if I add
> '' => array( 'keyValues' => array ()),
>
before _DEFAULT this gives more strange results: Calling up news entry 2868
without trailing "index.html" shows news entry 188!
Taras Sajuk
On Wed, Mar 25, 2009 at 5:47 PM, Dmitry Dulepov <dmitry at typo3.org> wrote:
> Hi!
>
> Taras Sajuk wrote:
> > Unfortunately the Google News Search seems to drop the "index.html" part
> on
> > the result link very often and the reader gets the "no news_id" page even
> if
> > Google News indexed the right page.
>
> If your URLs always end in index.html, add a rewrite rule to make a 301
> redirect to the correct URL. This is not the best but the fastest solution
> for you.
>
> --
> Dmitry Dulepov
> TYPO3 core team
> http://dmitry-dulepov.com/article/blank-empty-page-in-typo3.html
> _______________________________________________
> 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