#1  
Alt 30.06.07, 19:48
Forum Zuschauer
 
Registriert seit: 30.06.07
Beiträge: 1
REALURL: Redirect alter SimulateStaticDocuments-URLS auf Realurl per 301 - Wie ??

hallo!

wir wollen unsere seiten von simulateStaticDocuments auf REALURL umstellen und die alten urls per 301 auf die neuen umleiten.

das problem:

es gibt tausende links wo die alten urls drin sind (z.b. aug google). die möchsten wir natürlich per 301 redirect abfangen und automatisch auf die neuen urls (von realurl) umleiten.

aus der alten url:
http://www.domain.de/seite.12345.0.html

soll also per redirect 301 z.b. diese url werden:
http://www.domain.de/seite/unterseite.12345.0.html

wie geht das??

wir haben bereits einiges ausprobiert kommen aber nicht auf die lösung ....

das ist unsere localconf:

PHP-Code:

$TYPO3_CONF_VARS
['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearPageCacheEval']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->clearPageCacheMgm';

$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache'] = 'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache'] = 'tx_realurl_urlencodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_pathcache'] = 'tx_realurl_pathcache';

$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';


// Root-PID definieren für jede Domain!
$RootPID = array(
    
'www.domain.de' => '123',    
    
'www.domain2.de' => '456',
    
'www.domain3.de' => '789',
); 

$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(

        
'init' => array(
            
'enableCHashCache' => 1,
            
'appendMissingSlash' => 'ifNotFile',
            
'enableUrlDecodeCache' => 1,
            
'enableUrlEncodeCache' => 1,
            
'respectSimulateStaticURLs' => 1,                        
            ),
            
        
'pagePath' => array(
            
'type' => 'user',
            
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
            
'spaceCharacter' => '-',
            
'languageGetVar' => 'L',
            
'expireDays' => 1,
            
'rootpage_id' => $RootPID[$_SERVER['HTTP_HOST']],            
        ),            

        
'preVars' => array(
            array(
                
'GETvar' => 'no_cache',
                
'valueMap' => array(
                    
'no_cache' => 1,
                ),
                
'noMatch' => 'bypass',
            ),

            array(
                
'GETvar' => 'L',
                
'valueMap' => array(
                    
'en' => '1',
                ),    
                
'noMatch' => 'bypass',
            ),
        ),
                    
        
'fileName' => array (
            
'defaultToHTMLsuffixOnPrev' => true,
            
'index' => array(
                
'backend.php' => array(
                    
'keyValues' => array (
                        
'type' => 100,
                    )
                ),
            ),
        ),
                    

        
'postVarSets' => array(
            
'_DEFAULT' => array (
                
'photobook' => array(
                array(
'GETvar' => 'tx_gooffotoboek_pi1[srcdir]'),
                 array(
'GETvar' => 'tx_gooffotoboek_pi1[fid]'),
                  array(
'GETvar' => 'tx_gooffotoboek_pi1[func]',
                        
'valueMap' => array(
                        
'thumbnails' => 'thumb',
                        ),
                 ),
                 ),
                
'article' => array(
                    array(
'GETvar' => 'tx_ttnews[tt_news]',),
                    array(
'GETvar' => 'tx_ttnews[backPid]',),
                ),
                        
                
'category' => array(
                    array(
'GETvar' => 'tx_ttnews[cat]',),
                ),
                
                
'neste' => array(
                    array(
'GETvar' => 'tx_ttnews[pointer]',),
                ),
                    
            ),
        ),
                    
); 
das in htaccess einfügen bringt nicht wirklich was:
RewriteRule ([0-9]+)\.([0-9]+)\.html$ http://%{HTTP_HOST}/index.php?id=$1&type=$2 [R=301,L]

so wird zwar per 301 weitergeleitet aber auf diese url:
Domain.de - Das Portal rund um Domains

immerhin kann der besucher jetzt die korrekte seite sehen, aber die bereits vorhandenen seiten im google index würden vberschwinden bzw ihren pagerank verlieren. das kann es ja nicht sein. und alles per hand geht nicht, das wären tausende redirects.

wie geht das automatisch??? ansonsten läuft realurl einwandfrei...

kompetente hilfe wäre echt toll ... vielen dank vorab!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Sponsored Links
Unterstützen Sie das Forum und buchen Sie Ihren Webspace beim
T3N Testsieger, dem Webhoster der auch dieses Forum hostet!


Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
RealURL -> Redirect auf RealURL URL DominikJ Suchmaschinenfreundliche URLs (SEO) 14 29.10.08 14:20
Gelöst URLs mit Mehrsprachigkeit und RealURL adjan TYPO3 4.x Fragen und Probleme 0 10.05.08 00:19
Umstellung von simulateStaticDocuments auf realURL JensL Suchmaschinenfreundliche URLs (SEO) 0 27.03.08 16:43
Gelöst realURL - URLs like normal websites - v1.2.1 kerim80 Suchmaschinenfreundliche URLs (SEO) 5 17.01.08 09:37
.htaccess (URLs immer mit/ohne www anzeigen) und RealURL automatix Suchmaschinenfreundliche URLs (SEO) 2 17.07.07 12:48


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:48 Uhr.


Powered by vBulletin® Version 3.8.4 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164