VBSEO to Xenforo Rewrite Rules – Redirect VBSEO URLs to xenforo

Note these are apache htaccess redirects, if you are looking for Nginx redirects please view our post here: VBSEO Removal Nginx Redirects

It hasnt been a secret over the past year the amount of people wanting to move away from vbulletin to alternative platforms like Xenforo has increased considerably,  along with VBSEO’s support basically being non-existent and large amounts of forums removing VBSEO completely we’ve compiled the htaccess Rules for the 6 different URL structures below .

Please note these URL rewrites will ONLY rewrite threads/Post URLs and will not do Category links, member profile or any other page with in the forum.   If you feel that you need to redirect category URL’s or other internal pages to the new URL structure which in most cases would be highly recommend you will need to manually by adding this 301 redirect :

Redirect 301 /old-page-name http://www.your-domain.com/new-page-name

VBSEO – Xenforo Rewrite Rules

Source: 001 – Hierarchic .html type URLs with content relevant forums and threads (Default Settings)
RewriteEngine on
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]

Source: 002 – Hierarchic directory type URLs with content relevant threads (used at www.vBSEO.com)
RewriteEngine on
RewriteRule f[\d]+/.+-([\d]+)/index([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule f[\d]+/.+-([\d]+)/ showthread.php?t=$1 [NC,L]
RewriteRule f([\d]+)/index([\d]+).html forumdisplay.php?f=$1&page=$2 [NC,L]
RewriteRule f([\d]+)/ forumdisplay.php?f=$1 [NC,L]

Source: 003 – Hierarchic .htm type URLs with content relevant forums (used at www.WebmasterWorld.com)
RewriteEngine on
RewriteRule [^/]+/([\d]+)-([\d]+).htm showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [^/]+/([\d]+).htm showthread.php?t=$1 [NC,L]

Source: 004 – Non-hierarchic .html type URLs using IDs (used at www.DaniWeb.com)
RewriteEngine on
RewriteRule thread([\d]+)-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule thread([\d]+).html showthread.php?t=$1 [NC,L]
RewriteRule forum([\d]+)-([\d]+).html forumdisplay.php?f=$1&page=$2 [NC,L]
RewriteRule forum([\d]+).html forumdisplay.php?f=$1 [NC,L]

Source: 005 – Non-hierarchic directory type URLs using IDs (used at www.MustangEvolution.com)
RewriteEngine on
RewriteRule t([\d]+)-([\d]+)/ showthread.php?t=$1&page=$2 [NC,L]
RewriteRule t([\d]+)/ showthread.php?t=$1 [NC,L]
RewriteRule f([\d]+)-([\d]+)/ forumdisplay.php?f=$1&page=$2 [NC,L]
RewriteRule f([\d]+)/ forumdisplay.php?f=$1 [NC,L]

Source: 006 – Hierarchic .html type URLs with content relevant threads (used at www.vBulletinSetup.com)
RewriteEngine on
RewriteRule f[\d]+/.+-([\d]+)-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule f[\d]+/.+-([\d]+).html showthread.php?t=$1 [NC,L]
RewriteRule f([\d]+)/i([\d]+).html forumdisplay.php?f=$1&page=$2 [NC,L]
RewriteRule f([\d]+)/ forumdisplay.php?f=$1 [NC,L]

These htaccess rules will not work unless you have the 301 Redirect script provided for your vbulletin version, this can be found in the modifications section at xenforo.com

If you are looking for vBulletin or Xenforo Services please take a look at our services page here… vBulletin services or Xenforo Services