Hallo,
ich benutze realurl, klappt soweit prima.
Jedoch habe ich eine Sache, die ich nicht hinkriege bzw. nicht weiß, wie man das am Besten unter SEO Gesichtspunkten macht.
Die Startseite (=root_id=3) wird zzt. angezeigt als
www.domain.tld.
Es soll aber immer als
www.domain.tld/startseite angezeigt werden, weil die root-Seite auch "Startseite" heisst.
Wie mache ich das?
In realurl, oder mit .htaccess? Oder ganz anders?
Wenn ja, wie?
Wäre nett, wenn mir jemand helfen könnte.
Meine realurl_conf.php:
<?php
// realurl config
// realurl config
$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
'_DEFAULT' => array(
'init' => array(
'enableCHashCache' => 1,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
'postVarSet_failureMode' => '',
),
'redirects' => array(),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'nc' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
# 'de' => '0',
'en' => '1',
),
'valueDefault' => 'de',
'noMatch' => 'bypass',
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 7,
'rootpage_id' => 3,
'firstHitPathCache' => 1,
),
'fixedPostVars' => array(),
'postVarSets' => array(
'_DEFAULT' => array(
// ke_yac parameters
// Terminkalender tx_keyac
'kalender' =>array (
array (
'GETvar' => 'tx_keyac_pi1[showCal]',
'valueMap' => array(
'zeige' => 0,
),
'noMatch' => 'bypass',
),
array (
'GETvar' => 'tx_keyac_pi1[year]',
'valueMap' => array(
'2007' => 2007,
'2008' => 2008,
'2009' => 2009,
'2010' => 2010,
'2011' => 2011,
'2012' => 2012,
'2013' => 2013,
'2014' => 2014,
'2015' => 2015,
'2016' => 2016,
'2017' => 2017,
),
'noMatch' => 'bypass',
),
array (
'GETvar' => 'tx_keyac_pi1[backPid]',
'valueMap' => array(
'start' => 1,
),
'noMatch' => 'bypass',
'valueDefault' => '17',
),
array (
'GETvar' => 'tx_keyac_pi1[month]',
'valueMap' => array(
'januar' => '01',
'februar' => '02',
'maerz' => '03',
'april' => '04',
'mai' => '05',
'juni' => '06',
'juli' => '07',
'august' => '08',
'september' => '09',
'oktober' => '10',
'november' => '11',
'dezember' => '12',
),
'noMatch' => 'bypass',
),
array (
'GETvar' => 'tx_keyac_pi1[showUid]',
'lookUpTable' => array(
'table' => 'tx_keyac_dates',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted ',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
'maxLength' => 15,
),
),
),
), // end ke_yac
// news archive parameters
'archive' => array(
array(
'GETvar' => 'tx_ttnews[year]' ,
),
array(
'GETvar' => 'tx_ttnews[month]' ,
'valueMap' => array(
'january' => '01',
'february' => '02',
'march' => '03',
'april' => '04',
'may' => '05',
'june' => '06',
'july' => '07',
'august' => '08',
'september' => '09',
'october' => '10',
'november' => '11',
'december' => '12',
)
),
),
// news pagebrowser
'browse' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
// news categories
'select_category' => array (
array(
'GETvar' => 'tx_ttnews[cat]',
),
),
// news articles anMd searchwords
'article' => 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' => '-',
),
),
),
array(
'GETvar' => 'tx_ttnews[backPid]',
),
array(
'GETvar' => 'tx_ttnews[swords]',
),
),
),
),
// configure filenames for different pagetypes
'fileName' => array(
'defaultToHTMLsuffixOnPrev' => 1,
'index' => array(
'print.html' => array(
'keyValues' => array(
'type' => 98,
),
),
'rss.xml' => array(
'keyValues' => array(
'type' => 101,
),
),
'rss091.xml' => array(
'keyValues' => array(
'type' => 101,
),
),
'rdf.xml' => array(
'keyValues' => array(
'type' => 102,
),
),
'atom.xml' => array(
'keyValues' => array(
'type' => 103,
),
),
),
),
),
);
?>