ich habe ein kleines Problem mit meinem Forum (2.0.19), was "Short Url." und Google angeht. Muss dabei sagen, dass es sich um eine der frühen Short-Url Versionen handelt. Ich möchte bzw. kann diese jedoch mangels Kenntnis nicht gegen eine neue ersetzen, da mir ein Versuch mit dieser Short-Url Version über 6 Tage über 21.000 404er Fehler ausgegeben hat.
Zur Sache: Google (und nur Google) scant vereinzelte Forenseiten, zum Glück nicht alle, nach diesem Muster:
Man beachte den doppelten Slash. MSN, Slurf etc. bringen solche Aktionen nicht.http://www.example.com//phpbb2/ptopic,3917.html
Der eingesetzte Code (.htaccess im Forenverzeichnis)
Code: Alles auswählen
RewriteEngine on
php_flag session.use_trans_sid 0
# View Category
RewriteCond %{REQUEST_URI} ^/forum/vcat,([0-9]*).htm*
RewriteRule ^(.*) /forum/index.php?c=%1 [L]
#
# View Forum
RewriteCond %{REQUEST_URI} ^/forum/forum,([0-9]*).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1 [L]
RewriteCond %{REQUEST_URI} ^/forum/forum,([0-9]*),-(.*).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1 [L]
RewriteCond %{REQUEST_URI} ^/forum/forum,([0-9]*),([0-9]*).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1&start=%2 [L]
RewriteCond %{REQUEST_URI} ^/forum/forum,([0-9]*),([0-9]*),-(.*).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1&start=%2 [L]
#
RewriteCond %{REQUEST_URI} ^/forum/pforum,([0-9]*),([0-9]*),([0-9]*).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1&topicdays=%2&start=%3 [L]
#
# View Forum
RewriteCond %{REQUEST_URI} ^/forum/mforum,([0-9]*),([a-zA-Z0-9]*).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1&mark=%2 [L]
#
# View Topic -- after first page
RewriteCond %{REQUEST_URI} ^/forum/ltopic,([0-9]*),([0-9]*),([a-zA-Z0-9]*),([0-9]*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&postdays=%2&postorder=%3&start=%4 [L]
#
# View Topic -- after first page
RewriteCond %{REQUEST_URI} ^/forum/lhtopic,([0-9]*),([0-9]*),([a-z]*),(.*),([0-9?]*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&postdays=%2&postorder=%3&highlight=%4&start=%5 [L]
RewriteCond %{REQUEST_URI} ^/forum/lhtopic,([0-9]*),([0-9?]*),([0-9]*),([a-z]*),(.*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&postdays=%3&postorder=%4&highlight=%5&start=%2 [L]
#
# View Topic -- normal
RewriteCond %{REQUEST_URI} ^/forum/stopic,([0-9]*),([0-9]*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?p=%1\#%2 [L]
#
# View Topic -- normal
RewriteCond %{REQUEST_URI} ^/forum/htopic,([0-9]*),([^,]*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&highlight=%2 [L]
RewriteCond %{REQUEST_URI} ^/forum/htopic,([0-9]*),([0-9]*),([^,]*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&start=%2&highlight=%3 [L]
#
# View Topic -- normal
RewriteCond %{REQUEST_URI} ^/forum/vtopic,([0-9]*),([a-zA-Z0-9]*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&view=%2 [L]
#
# View Topic -- normal
RewriteCond %{REQUEST_URI} ^/forum/ptopic,([0-9]*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?p=%1\#%2 [L]
RewriteCond %{REQUEST_URI} ^/forum/ptopic,([0-9]*),([^,]*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?p=%1&highlight=%2\#%3 [L]
#
# View Topic -- normal
RewriteCond %{REQUEST_URI} ^/forum/topic,([0-9]*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1 [L]
RewriteCond %{REQUEST_URI} ^/forum/topic,([0-9]*),-(.*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1 [L]
RewriteCond %{REQUEST_URI} ^/forum/topic,([0-9]*),([0-9]*),-(.*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&start=%2 [L]
RewriteCond %{REQUEST_URI} ^/forum/topic,([0-9]*),([0-9]*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&start=%2 [L]
#
#vote result
RewriteCond %{REQUEST_URI} ^/forum/utopic,([0-9]*),([0-9]*),([a-zA-Z0-9]*),([a-zA-Z0-9]*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&postdays=%2&postorder=%3&vote=%4 [L]
#
#with session
#############
#
# View Forum
RewriteCond %{REQUEST_URI} ^/forum/forum,([0-9]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1&sid=%2 [L]
RewriteCond %{REQUEST_URI} ^/forum/forum,([0-9]*),([0-9]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1&start=%2&sid=%3 [L]
RewriteCond %{REQUEST_URI} ^/forum/forum,([0-9]*),([a-fA-F0-9]{32}),-(.*).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1&sid=%2 [L]
RewriteCond %{REQUEST_URI} ^/forum/forum,([0-9]*),([0-9]*),([a-fA-F0-9]{32}),-(.*).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1&start=%2&sid=%3 [L]
#
RewriteCond %{REQUEST_URI} ^/forum/pforum,([0-9]*),([0-9]*),([0-9]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1&topicdays=%2&start=%3&sid=%4 [L]
#
# View Forum
RewriteCond %{REQUEST_URI} ^/forum/mforum,([0-9]*),([a-zA-Z0-9]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewforum.php?f=%1&mark=%2&sid=%3 [L]
#
# View Topic -- after first page
RewriteCond %{REQUEST_URI} ^/forum/ltopic,([0-9]*),([0-9]*),([a-zA-Z0-9]*),([0-9]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&postdays=%2&postorder=%3&start=%4&sid=%5 [L]
#
# View Topic -- after first page
RewriteCond %{REQUEST_URI} ^/forum/lhtopic,([0-9]*),([0-9]*),([a-z]*),([^,]*),([0-9?]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&postdays=%2&postorder=%3&highlight=%4&start=%5&sid=%6 [L]
RewriteCond %{REQUEST_URI} ^/forum/lhtopic,([0-9]*),([0-9?]*),([0-9]*),([a-z]*),([^,]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&postdays=%3&postorder=%4&highlight=%5&start=%2&sid=%6 [L]
#
# View Topic -- normal
RewriteCond %{REQUEST_URI} ^/forum/stopic,([0-9]*),([0-9]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?p=%1&sid=%2\#%3 [L]
#
# View Topic -- normal
RewriteCond %{REQUEST_URI} ^/forum/htopic,([0-9]*),([^,]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&highlight=%2&sid=%3 [L]
RewriteCond %{REQUEST_URI} ^/forum/htopic,([0-9]*),([0-9]*),([^,]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&start=%2&highlight=%3&sid=%4 [L]
#
# View Topic -- normal
RewriteCond %{REQUEST_URI} ^/forum/vtopic,([0-9]*),([a-zA-Z0-9]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&view=%2&sid=%3 [L]
#
# View Topic -- normal
RewriteCond %{REQUEST_URI} ^/forum/ptopic,([0-9]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?p=%1&sid=%2\#%3 [L]
RewriteCond %{REQUEST_URI} ^/forum/ptopic,([0-9]*),([^,]*),([[a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?p=%1&highlight=%2&sid=%3\#%4 [L]
#
# View Topic -- normal
RewriteCond %{REQUEST_URI} ^/forum/topic,([0-9]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&sid=%2 [L]
RewriteCond %{REQUEST_URI} ^/forum/topic,([0-9]*),([a-fA-F0-9]{32}),-(.*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&sid=%2 [L]
RewriteCond %{REQUEST_URI} ^/forum/topic,([0-9]*),([0-9]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&start=%2&sid=%3 [L]
RewriteCond %{REQUEST_URI} ^/forum/topic,([0-9]*),([0-9]*),([a-zA-Z0-9]*),-(.*).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&start=%2&sid=%3 [L]
#
#vote result
RewriteCond %{REQUEST_URI} ^/forum/utopic,([0-9]*),([0-9]*),([a-zA-Z0-9]*),([a-zA-Z0-9]*),([a-fA-F0-9]{32}).htm*
RewriteRule ^(.*) /forum/viewtopic.php?t=%1&postdays=%2&postorder=%3&vote=%4&sid=%4 [L]
Irgendwas muss dort für den Doppelslash verantwortlich sein. Habe selbst die letzten drei Tage intensiv versucht das Ding in Griff zu bekommen, leider ohne Erfolg.
Wer kann mir weiterhelfen?
LG
bbill