DeutschEnglish homekontaktrss Diese Seite weiter empfehlen
anmelden
  • Aktuelles
  • CMS-TYPO3
  • Services
  • Account
  • Tipps / Tricks
  • Home
  • Aktuelles
  • CMS-TYPO3
  • Tipps / Tricks
  • Services
  • Account
  • Extra
Ihre Seite kostenlos in unsere Webkatalog eintragen
bitte hier klicken.
its7.de Möchten Sie eine Webseite erstellen, Wir helfen Ihnen dabei.
Webseite kostenlos eintragen Webseite kostenlos eintragen
hostfactory hostfactory
also-s.de Fachstudio für dauerhafte IPL-Haarentfernung ohne Gelanwendung
handytarifevergleich.com Handytarife Vergleichen

Kontakt

Typo3 :: RealURL Konfiguration

RealURL installieren und konfigurieren

TypoScript :

config {
    prefixLocalAnchors = all
    simulateStaticDocuments = 0

    baseURL = www.domain.tld

    tx_realurl_enable = 1
}

 

.htaccess

RewriteEngine On

RewriteBase /



RewriteRule

^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]

RewriteRule ^typo3$ typo3/index_re.php [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* /index.php [L]

typo3conf/localconf.php

 

1.$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
2.$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
3.    '_DEFAULT' => array(
4.        'init' => array(
5.            'enableCHashCache' => 1,
6.            'appendMissingSlash' => 'ifNotFile',
7.            'enableUrlDecodeCache' => 1,
8.            'enableUrlEncodeCache' => 1,
9.            'postVarSet_failureMode' => '',
10.        ),
11.        'redirects' => array(),
12.        'preVars' => array(
13.            array(
14.                'GETvar' => 'no_cache',
15.                    'valueMap' => array(
16.                        'nc' => 1,
17.                    ),
18.                    'noMatch' => 'bypass',
19.                ),
20.                array(
21.                    'GETvar' => 'L',
22.                    'valueMap' => array(
23.                        # 'de' => '0',
24.                        'en' => '1',
25.                    ),
26.                    'valueDefault' => 'de',
27.                    'noMatch' => 'bypass',
28.                ),
29.            ),
30.            'pagePath' => array(
31.                'type' => 'user',
32.                'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
33.                'spaceCharacter' => '-',
34.                'languageGetVar' => 'L',
35.                'expireDays' => 7,
36.                'rootpage_id' => 1,
37.                'firstHitPathCache' => 1,
38.            ),
39.            'fixedPostVars' => array(),
40.            'postVarSets' => array(
41.                '_DEFAULT' => array(
42.                    // news archive parameters
43.                    'archive' => array(
44.                        array(
45.                            'GETvar' => 'tx_ttnews[year]' ,
46.                        ),
47.                        array(
48.                            'GETvar' => 'tx_ttnews[month]' ,
49.                            'valueMap' => array(
50.                            'january' => '01',
51.                            'february' => '02',
52.                            'march' => '03',
53.                            'april' => '04',
54.                            'may' => '05',
55.                            'june' => '06',
56.                            'july' => '07',
57.                            'august' => '08',
58.                            'september' => '09',
59.                            'october' => '10',
60.                            'november' => '11',
61.                            'december' => '12',
62.                        )
63.                    ),
64.                ),
65.                // news pagebrowser
66.                'browse' => array(
67.                    array(
68.                        'GETvar' => 'tx_ttnews[pointer]',
69.                    ),
70.                ),
71.                // news categories
72.                'select_category' => array (
73.                    array(
74.                        'GETvar' => 'tx_ttnews[cat]',
75.                    ),
76.                ),
77.                // news articles anMd searchwords
78.                'article' => array(
79.                    array(
80.                        'GETvar' => 'tx_ttnews[tt_news]',
81.                        'lookUpTable' => array(
82.                            'table' => 'tt_news',
83.                            'id_field' => 'uid',
84.                            'alias_field' => 'title',
85.                            'addWhereClause' => ' AND NOT deleted',
86.                            'useUniqueCache' => 1,
87.                            'useUniqueCache_conf' => array(
88.                                'strtolower' => 1,
89.                                'spaceCharacter' => '-',
90.                            ),
91.                        ),
92.                    ),
93.                    array(
94.                        'GETvar' => 'tx_ttnews[backPid]',
95.                    ),
96.                    array(
97.                        'GETvar' => 'tx_ttnews[swords]',
98.                    ),
99.                ),
100.            ),
101.        ),
102.        // configure filenames for different pagetypes
103.        'fileName' => array(
104.            'defaultToHTMLsuffixOnPrev' => 1,
105.            'index' => array(
106.                'print.html' => array(
107.                    'keyValues' => array(
108.                        'type' => 98,
109.                    ),
110.                ),
111.                'rss.xml' => array(
112.                    'keyValues' => array(
113.                        'type' => 100,
114.                    ),
115.                ),
116.                'rss091.xml' => array(
117.                    'keyValues' => array(
118.                        'type' => 101,
119.                    ),
120.                ),
121.                'rdf.xml' => array(
122.                    'keyValues' => array(
123.                        'type' => 102,
124.                    ),
125.                ),
126.                'atom.xml' => array(
127.                    'keyValues' => array(
128.                        'type' => 103,
129.                    ),
130.                ),
131.            ),
132.        ),
133.    ),
134.);

Freitag, 14. Mai. 2010 20:11
Zurück
TwitterFacebookLinkedIn
"INFORMATION TECHNOLOGY SOLUTIONS"
  • Impressum
  • Sitemap
  • AGB