[TYPO3-english] TYPO3 RealURL - defaultToHTMLsuffixOnPrev => 0 only for YAG Gallery

Adrian admin at webground.pl
Thu Sep 4 11:50:30 CEST 2014


Is it possible to turn of the defaultToHTMLsuffixOnPrev => 1 to defaultToHTMLsuffixOnPrev => 0 but only for YAG Gallery?

My url looks like that: example.com/media/gallery/yag/album/ItemList/submitFilter//gallery-name?cHash=6df0e50e026c71ea469960adb4422307.html

The chash value will be change, so when google will index this site there will be lots of 301 problems - that's why I need to turn off .html at the end.

I insert standard RealURL config for YAG Gallery:

  'encodeSpURL_postProc' => array(
    'yag' => 'EXT:yag/Classes/Hooks/RealUrlHook.php:user_Tx_Yag_Hooks_RealUrl->encodeSpURL_postProc',
    ),
  'decodeSpURL_preProc' => array(
    'yag' => 'EXT:yag/Classes/Hooks/RealUrlHook.php:user_Tx_Yag_Hooks_RealUrl->decodeSpURL_preProc',
    ), 
 
and have defaultToHTMLsuffixOnPrev => 1 for all pages 


More information about the TYPO3-english mailing list