Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
JochenS Posted October 10, 2019 Posted October 10, 2019 I just switched to Invision from VB5.5 and I need some help with the mod rewrite. I've installed Invision in /forums/ while VB was (and still is) installed at the root / <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase /forums/ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /forums/404error.php [L,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /forums/index.php [L] </IfModule> This is the .htaccess that Invision gave me. But I think it would only work if VB5 was also in /forums/ Please help me adjust this accordingly. Thanks
JochenS Posted October 15, 2019 Author Posted October 15, 2019 Where should above .htaccess be located? In root or in /forums/ ? I'm now running Wordpress in / and I wanted the URL redirect from my old VB5 (which used to be in / to work
Stuart Silvester Posted October 15, 2019 Posted October 15, 2019 8 minutes ago, Jochen Schmausser said: Where should above .htaccess be located? In root or in /forums/ ? I'm now running Wordpress in / and I wanted the URL redirect from my old VB5 (which used to be in / to work It sounds like you'll need to write some custom mod_rewrite rules of your own to identify vBulletin URLs and redirect those into /forums/ so that Invision Community will detect them.
JochenS Posted October 15, 2019 Author Posted October 15, 2019 Thanks, is there anybody here who can help with that?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.