Before TYPO3 9.5 Realurl could handle URLs and I had the following realurl configuration:
'productConfiguration' => array( array( 'GETvar' => 'tx_bitproducts_productview[product]', 'lookUpTable' => array( 'table' => 'tx_bitproducts_domain_model_product', 'id_field' => 'uid', 'alias_field' => 'productname', 'addWhereClause' => ' AND (sys_language_uid=0) AND deleted=0 AND hidden=0 AND pid=185 ', 'useUniqueCache' => 1, 'useUniqueCache_conf' => array( 'strtolower' => 1, 'spaceCharacter' => '-' ), 'enable404forInvalidAlias' => true ) ), array( 'GETvar' => 'tx_bitproducts_productview[action]', 'noMatch' => 'bypass', ), array( 'GETvar' => 'tx_bitproducts_productview[controller]', 'noMatch' => 'bypass' ), ), '195' => 'productConfiguration',
In TYPO3 9.5 I need to replace this handling. My Questions are:
- Do I need an extra field f.eg. "path_segment" in my EXTs table like in tx_news or could the URL be generated on the fly like in good old realurl ? This would implement, that spaces in productnames are replaced by f.eg. minus and the whole segment is put to lower case
- I would only like to have english product-names in the URL (pls. see above realurl config). Is this possible ?
- can I do all this with RouteEnhancer type "Extbase" ?
I would be happy for any hints how to start this correctly