HydraulicJack
Well-known member
PS: Has anyone tried this yet?
Not quite sure I understand the question. The rewrite rules I posted would redirect your existing vBSEO urls to native vBulletin format. So, for example, if your thread urls are of the type:[...] an example link that would be generated by each of the 7 rewrite rules
Yikes! Thanks very much for your details, Shadab!That looks like a customized URL format.
Thanks for the followup Shadab.Tried running your xml through the tool?
Just generated with the script and set all things up. Everything works smoothly. Many, many thanks buddy.
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]
Just for the record, the incorrect redirects which laztrix was getting were because the "xf_import_log" table was wiped out (due to an attempt to rerun the importer). He restored the table from backup which fixed everything.
Very cool. Worked perfectly on my customized URLS. I just uploaded the xml file to your online script, uploaded the three files posted by Kier, edited the htaccess file and viola, all the links are going to the right spot. THANKS!!
We use essential cookies to make this site work, and optional cookies to enhance your experience.