- Betroffene Version
- WoltLab Suite 5.3
Das alte Leiden, das gleiche Problem. Wenn ich nach Anleitung vorgehe, funktionieren die Linkweiterleitungen leider nicht.
Ich habe WSC + Forum + Galerie installiert und ein vBulletin 3.x migriert. Das vBulletin hatte keinerlei SEO. D.h. ein alter Link sah so aus /forum/showthread.php?p=4671010#post4671010 oder /forum/showthread.php?t=149951
WSC habe ich in extra Unterordner
/core
/forum
/gallery
SEO Rewrite im ACP hat mir gesagt, ich soll in jedes Verzeichnis diese .htaccess legen
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.*)$ index.php?$1 [L,QSA]
Soweit so gut.
Dann sagt die Migrationsanleitung https://manual.woltlab.com/de/migration-u…#vbulletin-3x4x ich soll das hier in die "Haupt"? .htaccess legen. Heißt das nur in die /core oder in alle?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} ^f=([0-9]+)$
RewriteRule ^forumdisplay\.php$ forum/index.php?board/%1/ [R=301,L]
RewriteCond %{QUERY_STRING} ^p=([0-9]+)$
RewriteRule ^showthread\.php$ forum/index.php?thread/postID=%1#post%1/ [R=301,L]
RewriteCond %{QUERY_STRING} ^p=([0-9]+)#post([0-9]+)$
RewriteRule ^showthread\.php$ forum/index.php?thread/postID=%1#post%2/ [R=301,L]
RewriteCond %{QUERY_STRING} ^([0-9]+)-([^/\.]+)&goto=newpost$
RewriteRule ^showthread\.php$ forum/index.php?thread/%1-%2/&action=firstNew [R=301,L]
RewriteCond %{QUERY_STRING} ^t=([0-9]+)$
RewriteRule ^showthread\.php$ forum/index.php?thread/%1/ [R=301,L]
RewriteCond %{QUERY_STRING} ^t=([0-9]+)&s=(.*)$
RewriteRule ^showthread\.php$ forum/index.php?thread/%1/ [R=301,L]
RewriteCond %{QUERY_STRING} ^t=([0-9]+)&langid=([0-9]+)$
RewriteRule ^showthread\.php$ forum/index.php?thread/%1/ [R=301,L]
RewriteCond %{QUERY_STRING} ^t=([0-9]+)&p=([0-9]+)$
RewriteRule ^showthread\.php$ forum/index.php?thread/%1-%2/&postID=%3#post%3 [R=301,L]
RewriteCond %{QUERY_STRING} ^t=([0-9]+)&page=([0-9]+)$
RewriteRule ^showthread\.php$ forum/index.php?thread/%1/&pageNo=%2 [R=301,L]
RewriteCond %{QUERY_STRING} ^t=([0-9]+)&page=([0-9]+)&langid=([0-9]+)$
RewriteRule ^showthread\.php$ forum/index.php?thread/%1/&pageNo=%2 [R=301,L]
RewriteCond %{QUERY_STRING} ^attachmentid=([0-9]+)&d=([0-9]+)$
RewriteRule ^attachment\.php$ forum/index.php?attachment/%1/ [R=301,L]
RewriteCond %{QUERY_STRING} ^p=([0-9]+)&postcount=([0-9]+)$
RewriteRule ^showpost\.php$ forum/index.php?thread/&postID=%1#post%1 [R=301,L]
RewriteCond %{QUERY_STRING} ^([0-9]+)-([^/\.]+)$
RewriteRule ^member\.php$ index.php?user/%1-%2/ [R=301,L]
RewriteCond %{QUERY_STRING} ^do=getnew&contenttype=vBForum_Post$
RewriteRule ^search\.php$ index.php?board-quick-search/&mode=unreadPosts [R=301,L]
RewriteRule ^forum\.php$ forum/index.php?board-list/ [R=301,L]
RewriteRule ^online\.php$ index.php?users-online-list/ [R=301,L]
RewriteRule ^activity\.php$ index.php?dashboard/ [R=301,L]
</IfModule>
Alles anzeigen
Da wird aber aus
/forum/showthread.php?t=14995 einfach nur /forum/?showthread.php?t=14995
Da ich die Rewrite immer noch nicht ausreichend verstehe - und jetzt mit den verschiedenen Unterverzeichnissen (core, forum, gallery) leider schon gar nicht ... Wo liegt hier der Fehler?