Jump to content

mod rewrite after converting from VBulletin


JochenS

Recommended Posts

Posted

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

Posted

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

Posted
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.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...