書き換えられた URL の新しい部分を示すキーワードを除外する場合は、次を使用しますfixedPostVars。
'fixedPostVars' => array(
'123' =>array(
array(
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array(
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
),
domain.com/article/your-article-titleこれにより、次のサイト構造があると仮定して、 のような URL が作成されます。
root
|- news (pid xy)
|- article (pid 123)
同じページにリスト ビューと詳細ビューを表示して、よりクリーンな URL を作成することもできます ( domain.com/news/your-article-title):
root
|- news (pid 123, configured for list and detail)