diff options
| author | Christian Fowler <spider@viovio.com> | 2007-03-07 21:40:29 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-03-07 21:40:29 +0000 |
| commit | 00c70b79b1d47716e98920306dfb1248107f5a0f (patch) | |
| tree | 65b2cf77733b9627d38229be63c38bde8d5f36cd /.htaccess_phpbb | |
| parent | 5f8c7b38b811d4d03dff9866ae5c880eca8548d4 (diff) | |
| download | boards-00c70b79b1d47716e98920306dfb1248107f5a0f.tar.gz boards-00c70b79b1d47716e98920306dfb1248107f5a0f.tar.bz2 boards-00c70b79b1d47716e98920306dfb1248107f5a0f.zip | |
handle migrate_board_id just to be thorough
Diffstat (limited to '.htaccess_phpbb')
| -rw-r--r-- | .htaccess_phpbb | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/.htaccess_phpbb b/.htaccess_phpbb index 0045a58..a6784eb 100644 --- a/.htaccess_phpbb +++ b/.htaccess_phpbb @@ -6,13 +6,23 @@ RewriteCond %{SCRIPT_FILENAME}/index.php -f RewriteRule ^(.*)$ - [L] + # fake out phpBB user profile page + RewriteCond %{REQUEST_URI} profile.php + RewriteCond %{QUERY_STRING} .*mode=viewprofile.*u=([0-9]*) + RewriteRule .* /users/index.php?fHomepage=%1 [R,env=VV_THEME:people,QSA] + # old phpBB posts RewriteCond %{REQUEST_URI} viewtopic.php RewriteCond %{QUERY_STRING} .*p=([0-9]*).* - RewriteRule .* /forums/index.php?migrate_post_id=%1 [R] + RewriteRule .* /phpbb/index.php?migrate_post_id=%1 [R] # old phpBB topics RewriteCond %{REQUEST_URI} viewtopic.php RewriteCond %{QUERY_STRING} .*t=([0-9]*).* - RewriteRule .* /forums/index.php?migrate_topic_id=%1 [R] + RewriteRule .* /phpbb/index.php?migrate_topic_id=%1 [R] + + # old phpBB board + RewriteCond %{REQUEST_URI} viewforum.php + RewriteCond %{QUERY_STRING} .*f=([0-9]*).* + RewriteRule .* /phpbb/index.php?migrate_board_id=%1 [R] </IfModule> |
