(Apache / Burning Board 3) Redirect SEO Links in Burning Board 4

When switching from Burning Board 3 on Burning Board 4, the old links of the search engine optimization plugin no longer work. This problem can be solved with the below descriptions.


Open your .htaccess located in the root directory of your Burning Board 3 and then replace the entries with the new descriptions from the list below. If you have replaced all descriptions, save the .htaccess in the root directory of your Burning Board 4!


If the community plugins not be installed in the default directories (blog, gallery), then you need to adjust the path accordingly in the descriptions!


Please pay attention to the correct RewriteBase for Burning Board 4 in .htaccess. The RewriteBase should read as follows:


When calling the Forum on woltlab.com: /
When calling the Forum on woltlab.com/forum/: /forum/



# User profile link format
# user/{USER_ID}-{USERNAME}/
Old: RewriteRule ^user/([0-9]+)\-([^/\.]*)/?$ index.php?page=User&userID=$1&username=$2 [L,QSA]
4.0: RewriteRule ^user/([0-9]+)\-([^/\.]*)/?$ index.php/User/$1-$2/ [R=301,QSA,L]
4.1: RewriteRule ^user/([0-9]+)\-([^/\.]*)/?$ index.php?user/$1-$2/ [R=301,QSA,L]



# user/{USER_ID}/{USERNAME}/
Old: RewriteRule ^user/([0-9]+)/([^/\.]*)/?$ index.php?page=User&userID=$1&username=$2 [L,QSA]
4.0: RewriteRule ^user/([0-9]+)/([^/\.]*)/?$ index.php/User/$1-$2/ [R=301,QSA,L]
4.1: RewriteRule ^user/([0-9]+)/([^/\.]*)/?$ index.php?user/$1-$2/ [R=301,QSA,L]




# Links to last post format
# {PARENT_BOARDS}board{BOARD_ID}-{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/last-post.html
Old: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php?page=Thread&threadID=$4&action=lastPost [L,QSA]
4.0: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php/Thread/$4-$5/?action=lastPost [R=301,QSA,L]
4.1: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php?thread/$4-$5/&action=lastPost [R=301,QSA,L]



# {PARENT_BOARDS}{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/last-post.html
Old: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php?page=Thread&threadID=$3&action=lastPost [L,QSA]
4.0: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php/Thread/$3-$4/?action=lastPost [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php?thread/$3-$4/&action=lastPost [R=301,QSA,L]


# {BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/last-post.html
Old: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php?page=Thread&threadID=$2&action=lastPost [L,QSA]
4.0: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php/Thread/$2-$3/?action=lastPost [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php?thread/$2-$3/&action=lastPost [R=301,QSA,L]



# board{BOARD_ID}-{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/last-post.html
Old: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php?page=Thread&threadID=$3&action=lastPost [L,QSA]
4.0: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php/Thread/$3-$4/?action=lastPost [R=301,QSA,L]
4.1: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php?thread/$3-$4/&action=lastPost [R=301,QSA,L]



# {THREAD_ID}-{THREAD_TOPIC}/last-post.html
Old: RewriteRule ^([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php?page=Thread&threadID=$1&action=lastPost [L,QSA]
4.0: RewriteRule ^([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php/Thread/$1-$2/?action=lastPost [R=301,QSA,L]
4.1: RewriteRule ^([0-9]+)\-([^/\.]*)/last\-post\.html$ index.php?thread/$1-$2/&action=lastPost [R=301,QSA,L]




# Links to first new post format
# {PARENT_BOARDS}board{BOARD_ID}-{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/first-new-post.html
Old: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php?page=Thread&threadID=$4&action=firstNew [L,QSA]
4.0: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php/Thread/$4-$5/?action=firstNew [R=301,QSA,L]
4.1: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php?thread/$4-$5/&action=firstNew [R=301,QSA,L]



# {PARENT_BOARDS}{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/first-new-post.html
Old: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php?page=Thread&threadID=$3&action=firstNew [L,QSA]
4.0: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php/Thread/$3-$4/?action=firstNew [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php?thread/$3-$4/&action=firstNew [R=301,QSA,L]



# {BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/first-new-post.html
Old: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php?page=Thread&threadID=$2&action=firstNew [L,QSA]
4.0: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php/Thread/$2-$3/?action=firstNew [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php?thread/$2-$3/&action=firstNew [R=301,QSA,L]



# board{BOARD_ID}-{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/first-new-post.html
Old: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php?page=Thread&threadID=$3&action=firstNew [L,QSA]
4.0: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php/Thread/$3-$4/?action=firstNew [R=301,QSA,L]
4.1: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php?thread/$3-$4/&action=firstNew [R=301,QSA,L]



# {THREAD_ID}-{THREAD_TOPIC}/first-new-post.html
Old: RewriteRule ^([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php?page=Thread&threadID=$1&action=firstNew [L,QSA]
4.0: RewriteRule ^([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php/Thread/$1-$2/?action=firstNew [R=301,QSA,L]
4.1: RewriteRule ^([0-9]+)\-([^/\.]*)/first\-new\-post\.html$ index.php?thread/$1-$2/&action=firstNew [R=301,QSA,L]




# Post link format
# {PARENT_BOARDS}board{BOARD_ID}-{BOARD_TITLE}/p{POST_ID}-{THREAD_TOPIC}/
Old: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php?page=Thread&postID=$4 [L,QSA]
4.0: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php/Thread/?postID=$4#post$4 [R=301,QSA,L]
4.1: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php?thread/&postID=$4#post$4 [R=301,QSA,L]



# {PARENT_BOARDS}{BOARD_TITLE}/p{POST_ID}-{THREAD_TOPIC}/
Old: RewriteRule ^([^/\.]+/)*([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php?page=Thread&postID=$3 [L,QSA]
4.0: RewriteRule ^([^/\.]+/)*([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php/Thread/?postID=$3#post$3 [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+/)*([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php?thread/&postID=$3#post$3 [R=301,QSA,L]



# {BOARD_TITLE}/p{POST_ID}-{THREAD_TOPIC}/
Old: RewriteRule ^([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php?page=Thread&postID=$2 [L,QSA]
4.0: RewriteRule ^([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php/Thread/?postID=$2#post$2 [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php?thread/&postID=$2#post$2 [R=301,QSA,L]



# board{BOARD_ID}-{BOARD_TITLE}/p{POST_ID}-{THREAD_TOPIC}/
Old: RewriteRule ^board([0-9]+)\-([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php?page=Thread&postID=$3 [L,QSA]
4.0: RewriteRule ^board([0-9]+)\-([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php/Thread/?postID=$3#post$3 [R=301,QSA,L]
4.1: RewriteRule ^board([0-9]+)\-([^/\.]+)/p([0-9]+)\-([^/\.]*)/?$ index.php?thread/&postID=$3#post$3 [R=301,QSA,L]



# board{BOARD_ID}/p{POST_ID}-{THREAD_TOPIC}/
Old: RewriteRule ^board([0-9]+)/p([0-9]+)\-([^/\.]*)/?$ index.php?page=Thread&postID=$2 [L,QSA]
4.0: RewriteRule ^board([0-9]+)/p([0-9]+)\-([^/\.]*)/?$ index.php/Thread/?postID=$2#post$2 [R=301,QSA,L]
4.1: RewriteRule ^board([0-9]+)/p([0-9]+)\-([^/\.]*)/?$ index.php?thread/&postID=$2#post$2 [R=301,QSA,L]



# p{POST_ID}-{THREAD_TOPIC}.html
Old: RewriteRule ^p([0-9]+)\-([^/\.]*)\.html$ index.php?page=Thread&postID=$1 [L,QSA]
4.0: RewriteRule ^p([0-9]+)\-([^/\.]*)\.html$ index.php/Thread/?postID=$1#post$1 [R=301,QSA,L]
4.1: RewriteRule ^p([0-9]+)\-([^/\.]*)\.html$ index.php?thread/&postID=$1#post$1 [R=301,QSA,L]




# Thread links for multiple pages format
# {PARENT_BOARDS}board{BOARD_ID}-{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/index{THREAD_PAGE_NO}.html
Old: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php?page=Thread&threadID=$4&pageNo=$6 [L,QSA]
4.0: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php/Thread/$4-$5/?pageNo=$6 [R=301,QSA,L]
4.1: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php?thread/$4-$5/&pageNo=$6 [R=301,QSA,L]



# {PARENT_BOARDS}{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/index{THREAD_PAGE_NO}.html
Old: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php?page=Thread&threadID=$3&pageNo=$5 [L,QSA]
4.0: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php/Thread/$3-$4/?pageNo=$5 [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php?thread/$3-$4/&pageNo=$5 [R=301,QSA,L]



# {BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/index{THREAD_PAGE_NO}.html
Old: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php?page=Thread&threadID=$2&pageNo=$4 [L,QSA]
4.0: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php/Thread/$2-$3/?pageNo=$4 [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php?thread/$2-$3/&pageNo=$4 [R=301,QSA,L]



# board{BOARD_ID}-{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/index{THREAD_PAGE_NO}.html
Old: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php?page=Thread&threadID=$3&pageNo=$5 [L,QSA]
4.0: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php/Thread/$3-$4/?pageNo=$5 [R=301,QSA,L]
4.1: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php?thread/$3-$4/&pageNo=$5 [R=301,QSA,L]



# board{BOARD_ID}/{THREAD_ID}-{THREAD_TOPIC}/index{THREAD_PAGE_NO}.html
Old: RewriteRule ^board([0-9]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php?page=Thread&threadID=$2&pageNo=$4 [L,QSA]
4.0: RewriteRule ^board([0-9]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php/Thread/$2-$3/?pageNo=$4 [R=301,QSA,L]
4.1: RewriteRule ^board([0-9]+)/([0-9]+)\-([^/\.]*)/index([0-9]+)\.html$ index.php?thread/$2-$3/&pageNo=$4 [R=301,QSA,L]



# {THREAD_ID}-{THREAD_TOPIC}/thread{THREAD_PAGE_NO}.html
Old: RewriteRule ^([0-9]+)\-([^/\.]*)/thread([0-9]+)\.html$ index.php?page=Thread&threadID=$1&pageNo=$3 [L,QSA]
4.0: RewriteRule ^([0-9]+)\-([^/\.]*)/thread([0-9]+)\.html$ index.php/Thread/$1-$2/?pageNo=$3 [R=301,QSA,L]
4.1: RewriteRule ^([0-9]+)\-([^/\.]*)/thread([0-9]+)\.html$ index.php?thread/$1-$2/?pageNo=$3 [R=301,QSA,L]




# Thread link format
# {PARENT_BOARDS}board{BOARD_ID}-{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/
Old: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php?page=Thread&threadID=$4 [L,QSA]
4.0: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php/Thread/$4-$5/ [R=301,QSA,L]
4.1: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php?thread/$4-$5/ [R=301,QSA,L]



# {PARENT_BOARDS}{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/
Old: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php?page=Thread&threadID=$3 [L,QSA]
4.0: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php/Thread/$3-$4/ [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+/)*([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php?thread/$3-$4/ [R=301,QSA,L]



# {BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/
Old: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php?page=Thread&threadID=$2 [L,QSA]
4.0: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php/Thread/$2-$3/ [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php?thread/$2-$3/ [R=301,QSA,L]



# board{BOARD_ID}-{BOARD_TITLE}/{THREAD_ID}-{THREAD_TOPIC}/
Old: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php?page=Thread&threadID=$3 [L,QSA]
4.0: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php/Thread/$3-$4/ [R=301,QSA,L]
4.1: RewriteRule ^board([0-9]+)\-([^/\.]+)/([0-9]+)\-([^/\.]*)/?$ index.php?thread/$3-$4/ [R=301,QSA,L]



# board{BOARD_ID}/{THREAD_ID}-{THREAD_TOPIC}/
Old: RewriteRule ^board([0-9]+)/([0-9]+)\-([^/\.]*)/?$ index.php?page=Thread&threadID=$2 [L,QSA]
4.0: RewriteRule ^board([0-9]+)/([0-9]+)\-([^/\.]*)/?$ index.php/Thread/$2-$3/ [R=301,QSA,L]
4.1: RewriteRule ^board([0-9]+)/([0-9]+)\-([^/\.]*)/?$ index.php?thread/$2-$3/ [R=301,QSA,L]



# {THREAD_ID}-{THREAD_TOPIC}.html
Old: RewriteRule ^([0-9]+)\-([^/\.]*)\.html$ index.php?page=Thread&threadID=$1 [L,QSA]
4.0: RewriteRule ^([0-9]+)\-([^/\.]*)\.html$ index.php/Thread/$1-$2/ [R=301,QSA,L]
4.1: RewriteRule ^([0-9]+)\-([^/\.]*)\.html$ index.php?thread/$1-$2/ [R=301,QSA,L]




# Board links to multiple pages format
# {PARENT_BOARDS}board{BOARD_ID}-{BOARD_TITLE}/index{BOARD_PAGE_NO}.html
Old: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/index([0-9]+)\.html$ index.php?page=Board&boardID=$2&pageNo=$4 [L,QSA]
4.0: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/index([0-9]+)\.html$ index.php/Board/$2-$3/?pageNo=$4 [R=301,QSA,L]
4.1: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/index([0-9]+)\.html$ index.php?board/$2-$3/&pageNo=$4 [R=301,QSA,L]



# Board links to multiple pages format
# {PARENT_BOARDS}{BOARD_TITLE}/index{BOARD_PAGE_NO}.html
Old: RewriteRule ^([^/\.]+/)*([^/\.]+)/index([0-9]+)\.html$ index.php?page=Board&boardTitle=$2&pageNo=$3 [L,QSA]
4.0: RewriteRule ^([^/\.]+/)*([^/\.]+)/index([0-9]+)\.html$ index.php/BoardList/ [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+/)*([^/\.]+)/index([0-9]+)\.html$ index.php?board-list/ [R=301,QSA,L]



# board{BOARD_ID}/index{BOARD_PAGE_NO}.html
Old: RewriteRule ^board([0-9]+)/index([0-9]+)\.html$ index.php?page=Board&boardID=$1&pageNo=$2 [L,QSA]
4.0: RewriteRule ^board([0-9]+)/index([0-9]+)\.html$ index.php/Board/$1/?pageNo=$2 [R=301,QSA,L]
4.1: RewriteRule ^board([0-9]+)/index([0-9]+)\.html$ index.php?board/$1/&pageNo=$2 [R=301,QSA,L]



# {BOARD_TITLE}/board{BOARD_PAGE_NO}.html
Old: RewriteRule ^([^/\.]+)/board([0-9]+)\.html$ index.php?page=Board&boardTitle=$1&pageNo=$2 [L,QSA]
4.0: RewriteRule ^([^/\.]+)/board([0-9]+)\.html$ index.php/BoardList/ [R=301,QSA,L]
4.1: RewriteRule ^([^/\.]+)/board([0-9]+)\.html$ index.php?board-list/ [R=301,QSA,L]




# Board link format
# board{BOARD_ID}-{BOARD_TITLE}/
Old: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/?$ index.php?page=Board&boardID=$2 [L,QSA]
4.0: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/?$ index.php/Board/$2/ [R=301,QSA,L]
4.1: RewriteRule ^(board[0-9]+\-[^/\.]+/)*board([0-9]+)\-([^/\.]+)/?$ index.php?board/$2/ [R=301,QSA,L][/tt



[b]# {BOARD_TITLE}/[/b]
Old: [tt]RewriteRule ^([^/\.]+/)*([^/\.]+)/?$ index.php?page=Board&boardTitle=$1 [L,QSA]
4.0: RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^([^/\.]+/)*([^/\.]+)/?$ index.php/BoardList/ [R=301,QSA,L]
4.1: RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^([^/\.]+/)*([^/\.]+)/?$ index.php?board-list/ [R=301,QSA,L]



# board{BOARD_ID}/
Old: RewriteRule ^board([0-9]+)/?$ index.php?page=Board&boardID=$1 [L,QSA]
4.0: RewriteRule ^board([0-9]+)/?$ index.php/Board/$1/ [R=301,QSA,L]
4.1: RewriteRule ^board([0-9]+)/?$ index.ph?board-list/$1/ [R=301,QSA,L]



# Index page link format
# {PAGE_TITLE}.html
Old: RewriteRule ^([^/\.]+)\.html$ index.php?page=Index [L,QSA]
4.0: RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^([^/\.]+)\.html$ index.php/BoardList/ [R=301,QSA,L]
4.1: RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^([^/\.]+)\.html$ index.php?board-list/ [R=301,QSA,L]



# index.html
Old: RewriteRule ^index\.html$ index.php?page=Index [L,QSA]
4.0: RewriteRule ^index\.html$ index.php/BoardList/ [R=301,QSA,L]
4.1: RewriteRule ^index\.html$ index.php?board-list/ [R=301,QSA,L]



# Attachments
4.0: RewriteCond %{QUERY_STRING} page=Attachment&attachmentID=([0-9]+)RewriteRule ^index\.php$ /index.php/Attachment/%1/ [R=301,QSA,L]
4.1: RewriteCond %{QUERY_STRING} page=Attachment&attachmentID=([0-9]+)RewriteRule ^index\.php$ /index.php?attachment/%1/ [R=301,QSA,L]


# Portal
4.0: RewriteCond %{QUERY_STRING} page=PortalRewriteRule ^index\.php$ /index.php/Dashboard/ [R=301,QSA,L]
4.1: RewriteCond %{QUERY_STRING} page=PortalRewriteRule ^index\.php$ /index.php?dashboard/ [R=301,QSA,L]



Blog
#Blog link format
#user/blog{USER_ID}-{USERNAME}/
Old: RewriteRule ^user/blog([0-9]+)\-([^/\.]*)/entry([0-9]+)\-([^/\.]*)/?$ index.php?page=UserBlogEntry&entryID=$3 [L,QSA]
4.0: RewriteRule ^user/blog([0-9]+)\-([^/\.]*)/entry([0-9]+)\-([^/\.]*)/?$ /blog/index.php/Entry/$3-$4/ [R=301,QSA,L]
4.1: RewriteRule ^user/blog([0-9]+)\-([^/\.]*)/entry([0-9]+)\-([^/\.]*)/?$ /blog/index.php?entry/$3-$4/ [R=301,QSA,L]


#user/blog{USER_ID}/{USERNAME}/
Old: RewriteRule ^user/blog([0-9]+)/([^/\.]*)/entry([0-9]+)/([^/\.]*)/?$ index.php?page=UserBlogEntry&entryID=$3 [L,QSA]
4.0: RewriteRule ^user/blog([0-9]+)/([^/\.]*)/entry([0-9]+)/([^/\.]*)/?$ /blog/index.php/Entry/$3-$4/ [R=301,QSA,L]
4.1: RewriteRule ^user/blog([0-9]+)/([^/\.]*)/entry([0-9]+)/([^/\.]*)/?$ /blog/index.php?entry/$3-$4/ [R=301,QSA,L]


#Category link format
#user/blog{USER_ID}-{USERNAME}/category{CATEGORY_ID}-{CATEGORY_NAME}/
Old: RewriteRule ^user/blog([0-9]+)\-([^/\.]*)/category([0-9]+)\-([^/\.]*)/?$ index.php?page=UserBlog&userID=$1&categoryID=$3 [L,QSA]
4.0: RewriteRule ^user/blog([0-9]+)\-([^/\.]*)/category([0-9]+)\-([^/\.]*)/?$ /blog/index.php/EntryList/?userID=$1 [R=301,QSA,L]
4.1: RewriteRule ^user/blog([0-9]+)\-([^/\.]*)/category([0-9]+)\-([^/\.]*)/?$ /blog/index.php?entry-list/&userID=$1 [R=301,QSA,L]


#user/blog{USER_ID}/{USERNAME}/category{CATEGORY_ID}/{CATEGORY_NAME}/
Old: RewriteRule ^user/blog([0-9]+)/([^/\.]*)/category([0-9]+)/([^/\.]*)/?$ index.php?page=UserBlog&userID=$1&categoryID=$3 [L,QSA]
4.0: RewriteRule ^user/blog([0-9]+)/([^/\.]*)/category([0-9]+)/([^/\.]*)/?$ /blog/index.php/EntryList/?userID=$1 [R=301,QSA,L]
4.1: RewriteRule ^user/blog([0-9]+)/([^/\.]*)/category([0-9]+)/([^/\.]*)/?$ /blog/index.php?entry-list/&userID=$1 [R=301,QSA,L]


#Category link format (global)
#blog/category{CATEGORY_ID}-{CATEGORY_NAME}/
Old: RewriteRule ^blog/category([0-9]+)\-([^/\.]*)/?$ index.php?page=UserBlogOverview&categoryID=$1 [L,QSA]
4.0: RewriteRule ^blog/category([0-9]+)\-([^/\.]*)/?$ /blog/index.php/Blog/ [R=301,QSA,L]
4.1: RewriteRule ^blog/category([0-9]+)\-([^/\.]*)/?$ /blog/ [R=301,QSA,L]


#blog/category{CATEGORY_ID}/{CATEGORY_NAME}/
Old: RewriteRule ^blog/category([0-9]+)/([^/\.]*)/?$ index.php?page=UserBlogOverview&categoryID=$1 [L,QSA]
4.0: RewriteRule ^blog/category([0-9]+)/([^/\.]*)/?$ /blog/index.php/Blog/ [R=301,QSA,L]
4.1: RewriteRule ^blog/category([0-9]+)/([^/\.]*)/?$ /blog/?entry-list/$1/ [R=301,QSA,L]


#Article link format
#user/blog{USER_ID}-{USERNAME}/entry{ENTRY_ID}-{ENTRY_SUBJECT}/
Old: RewriteRule ^user/blog([0-9]+)\-([^/\.]*)/?$ index.php?page=UserBlog&userID=$1 [L,QSA]
4.0: RewriteRule ^user/blog([0-9]+)\-([^/\.]*)/?$ /blog/index.php/EntryList/?userID=$1 [R=301,QSA,L]
4.1: RewriteRule ^user/blog([0-9]+)\-([^/\.]*)/?$ /blog/index.php?entry-list/&userID=$1 [R=301,QSA,L]


#user/blog{USER_ID}/{USERNAME}/entry{ENTRY_ID}/{ENTRY_SUBJECT}/
Old: RewriteRule ^user/blog([0-9]+)/([^/\.]*)/?$ index.php?page=UserBlog&userID=$1 [L,QSA]
4.0: RewriteRule ^user/blog([0-9]+)/([^/\.]*)/?$ /blog/index.php/EntryList/?userID=$1 [R=301,QSA,L]
4.1: RewriteRule ^user/blog([0-9]+)/([^/\.]*)/?$ /blog/index.php?entry-list/&userID=$1 [R=301,QSA,L]




Gallery
#Gallery link format
#user/gallery{USER_ID}-{USERNAME}/
Old: RewriteRule ^user/gallery([0-9]+)\-([^/\.]*)/photo([0-9]+)\-([^/\.]*)/?$ index.php?page=UserGalleryPhoto&photoID=$3 [L,QSA]
4.0: RewriteRule ^user/gallery([0-9]+)\-([^/\.]*)/photo([0-9]+)\-([^/\.]*)/?$ /gallery/index.php/Image/$3-$4/ [R=301,QSA,L]
4.1: RewriteRule ^user/gallery([0-9]+)\-([^/\.]*)/photo([0-9]+)\-([^/\.]*)/?$ /gallery/index.php?image/$3-$4/ [R=301,QSA,L]


#user/gallery{USER_ID}/{USERNAME}/
Old: RewriteRule ^user/gallery([0-9]+)/([^/\.]*)/photo([0-9]+)/([^/\.]*)/?$ index.php?page=UserGalleryPhoto&photoID=$3 [L,QSA]
4.0: RewriteRule ^user/gallery([0-9]+)/([^/\.]*)/photo([0-9]+)/([^/\.]*)/?$ /gallery/index.php/Image/$3-$4/ [R=301,QSA,L]
4.1: RewriteRule ^user/gallery([0-9]+)/([^/\.]*)/photo([0-9]+)/([^/\.]*)/?$ /gallery/index.php?image/$3-$4/ [R=301,QSA,L]


#Album link format
#user/gallery{USER_ID}-{USERNAME}/album{ALBUM_ID}-{ALBUM_TITLE}/
Old: RewriteRule ^user/gallery([0-9]+)\-([^/\.]*)/album([0-9]+)\-([^/\.]*)/?$ index.php?page=UserGalleryPhotos&albumID=$3 [L,QSA]
4.0: RewriteRule ^user/gallery([0-9]+)\-([^/\.]*)/album([0-9]+)\-([^/\.]*)/?$ /gallery/index.php/Album/$3-$4/ [R=301,QSA,L]
4.1: RewriteRule ^user/gallery([0-9]+)\-([^/\.]*)/album([0-9]+)\-([^/\.]*)/?$ /gallery/index.php?album/$3-$4/ [R=301,QSA,L]


#user/gallery{USER_ID}/{USERNAME}/album{ALBUM_ID}/{ALBUM_TITLE}/
Old: RewriteRule ^user/gallery([0-9]+)/([^/\.]*)/album([0-9]+)/([^/\.]*)/?$ index.php?page=UserGalleryPhotos&albumID=$3 [L,QSA]
4.0: RewriteRule ^user/gallery([0-9]+)/([^/\.]*)/album([0-9]+)/([^/\.]*)/?$ /gallery/index.php/Album/$3-$4/ [R=301,QSA,L]
4.1: RewriteRule ^user/gallery([0-9]+)/([^/\.]*)/album([0-9]+)/([^/\.]*)/?$ /gallery/index.php?album/$3-$4/ [R=301,QSA,L]


#Category link format
#gallery/category{CATEGORY_ID}-{CATEGORY_NAME}/
Old: RewriteRule ^gallery/category([0-9]+)\-([^/\.]*)/?$ index.php?page=UserGalleryOverview&categoryID=$1 [L,QSA]
4.0: RewriteRule ^gallery/category([0-9]+)\-([^/\.]*)/?$ /gallery/index.php/Gallery/ [R=301,QSA,L]
4.1: RewriteRule ^gallery/category([0-9]+)\-([^/\.]*)/?$ /gallery/index.php?image-list/$1-$2/ [R=301,QSA,L]


#gallery/category{CATEGORY_ID}/{CATEGORY_NAME}/
Old: RewriteRule ^gallery/category([0-9]+)/([^/\.]*)/?$ index.php?page=UserGalleryOverview&categoryID=$1 [L,QSA]
4.0: RewriteRule ^gallery/category([0-9]+)/([^/\.]*)/?$ /gallery/index.php/Gallery/ [R=301,QSA,L]
4.1: RewriteRule ^gallery/category([0-9]+)/([^/\.]*)/?$ /gallery/index.php?image-list/$1-$2/ [R=301,QSA,L]


#Photo link format
#user/gallery{USER_ID}-{USERNAME}/photo{PHOTO_ID}-{PHOTO_TITLE}/
Old: RewriteRule ^user/gallery([0-9]+)\-([^/\.]*)/?$ index.php?page=UserGallery&userID=$1 [L,QSA]
4.0: RewriteRule ^user/gallery([0-9]+)\-([^/\.]*)/?$ /gallery/index.php/Image/$3-$4/ [R=301,QSA,L]
4.1: RewriteRule ^user/gallery([0-9]+)\-([^/\.]*)/?$ /gallery/index.php?image/$3-$4/ [R=301,QSA,L]


#user/gallery{USER_ID}/{USERNAME}/photo{PHOTO_ID}/{PHOTO_TITLE}/
Old: RewriteRule ^user/gallery([0-9]+)/([^/\.]*)/?$ index.php?page=UserGallery&userID=$1 [L,QSA]
4.0: RewriteRule ^user/gallery([0-9]+)/([^/\.]*)/?$ /gallery/index.php/Image/$3-$4/ [R=301,QSA,L]
4.1: RewriteRule ^user/gallery([0-9]+)/([^/\.]*)/?$ /gallery/index.php?image/$3-$4/ [R=301,QSA,L]



#Album list
4.0: RewriteCond %{QUERY_STRING} page=UserGalleryAlbumList&userID=([0-9]+)RewriteRule ^index\.php$ /gallery/index.php/AlbumList/%1/ [R=301,QSA,L]
4.1: RewriteCond %{QUERY_STRING} page=UserGalleryAlbumList&userID=([0-9]+)RewriteRule ^index\.php$ /gallery/index.php?album-list/%1/ [R=301,QSA,L]


#Overview User Photos
4.0: RewriteCond %{QUERY_STRING} page=UserGalleryPhotos&userID=([0-9]+)RewriteRule ^index\.php$ /gallery/index.php/ImageList/?userID=%1 [R=301,QSA,L]
4.1: RewriteCond %{QUERY_STRING} page=UserGalleryPhotos&userID=([0-9]+)RewriteRule ^index\.php$ /gallery/index.php?image-list/&userID=%1 [R=301,QSA,L]



A completed new .htaccess for the old SEO with the default values after the installation would look like this:




If you have NOT used the search engine optimization plugin in your Burning Board 3, please proceed according to the following instructions: (Apache) Make Burning Board 3 internal links in Burning Board 4 functional