<IfModule mod_rewrite.c>
RewriteEngine on
# Set to vbulletin directory
RewriteBase /forums/
# Retrieve gamedata requests and send to new dbtech locations
RewriteRule ^arcade/gamedata/(.*) dbtech/vbarcade/media/$1 [L]
# Retrieve crossdomain requests and send to new dbtech location
RewriteRule ^crossdomain\.xml dbtech/vbarcade/crossdomain.xml [L]
# Send hardcoded legacy scores to arcade instead
RewriteCond %{REQUEST_URI} newscore\.php [OR]
RewriteCond %{REQUEST_URI} viewgame\.php
RewriteRule .* arcade.php?sendscore=legacy [L,QSA]
# Send hardcoded legacy scores to arcade instead
RewriteCond %{QUERY_STRING} func=storeScore [OR]
RewriteCond %{QUERY_STRING} autocom=arcade [OR]
RewriteCond %{QUERY_STRING} act=arcadelib [OR]
RewriteCond %{QUERY_STRING} act=Arcade
RewriteRule .* arcade.php [L,QSA]
# Reroute v3arcade liveinstaller
RewriteCond %{QUERY_STRING} do=liveinstall
RewriteCond %{REQUEST_URI} v3arcade_admin\.php
# If you renamed your admincp directory, change it here
RewriteRule .* %{DOCUMENT_ROOT}/management/arcade_admin.php?%{QUERY_STRING}&do=review&import=browse&system=v3a [L,R=301]
</IfModule>
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
# RewriteBase /
# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
# Options -MultiViews
RewriteCond %{REQUEST_URI} !(awcoding/|groups/|tags/|cron|vbseo_sitemap|store_sitemap|management/|modcp/|dbseocp/|clientscript/|cpstyles/|images/|authors/|members/|content/|blogs/|avatars/|\.php|\.html|\.gif|\.jpe?g|\.png|\.js|\.css|\.xml)
RewriteCond %{QUERY_STRING} !(noredirect)
RewriteRule ([^/]+)/$ /forums/bookmark_redirect.php?forum_name=$1 [L]
RewriteCond %{REQUEST_URI} !(management/|dbseocp/|modcp/|cron|mobiquo|forumrunner|api\.php|wiki|yui_loader|css|reviewpost/|classifieds/|photopost/)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ wiki_index.php [L,QSA]
#RewriteRule ^((archive/)?(.*\.php(/.*)?))$ dbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(management|dbseocp|modcp|clientscript|cpstyles|images|reviewpost|classifieds|photopost)/
RewriteRule ^(.+)$ wiki_index.php [L,QSA]
#RewriteRule ^(.+)$ dbseo.php [L,QSA]
# hot-linking..
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?hostboard\. [nc]
#RewriteRule ^(.*)\.(gif|jpe?g|png)$ http://%{HTTP_HOST}/forums/hotlink.php?url=$1.$2 [R,NC,L]
#RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
#RewriteCond %{REQUEST_URI} !(management/|modcp/|cron|vbseo_sitemap|api\.php|bookmark_redirect\.php)
#RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !/(management|modcp|clientscript|cpstyles|images)/
#RewriteRule ^(.+)$ vbseo.php [L,QSA]
</IfModule>