vBulletin 4.x URL Redirection

vBulletin 4.x URL Redirection 1.0.0

No permission to download

The ids are different, and we have to rewrite the urls. First upload these scripts to your web root:

http://xenforo.com/community/resources/redirection-scripts-for-vbulletin-3-x.264/

They may already be there from this resource which uses the same scripts.

Then add these rules to the top of the .htaccess file in your web root:

Code:
RewriteEngine On

RewriteRule ^[^/\.]+-([0-9]+)\.html$ /showthread.php?t=$1 [R=301,L]

That should do it.
 
Can't seem to get this to take either. :-(

Eventually I will swap out the xenforo folder names to be the same as the current /forum, however I want to see the redirects working in a test environment.

Not able to get threads redirected between ^/forum and ^/xf.
 
Hi, I'm currently using DBTech SEO for my url's so my settings are for standard url's for dbtech seo to rewrite them, can you advise me on whether I should upload mod_rewrite or standard-basic-advanced please.
 
Hi, I'm currently using DBTech SEO for my url's so my settings are for standard url's for dbtech seo to rewrite them, can you advise me on whether I should upload mod_rewrite or standard-basic-advanced please.

Probably neither. Yours are not vB4 standard URLs so I need an example old and new URL for the same thread so I can provide you rewrite rules.
 
Hi, my links are:

Old link: http://www.mysite.org/showthread.php?3746-VIP-Membership

New link: http://www.mysite.org/forums/index.php?threads/vip-membership.3746/

This is my first time doing redirects so I am really not sure what to do. I have downloaded the files and then uploaded the "standard-basic-advanced" files to /forums. Then what do I do?

Upload the "standard-basic-advanced" files to your web root. Then edit the 301config.php file to specify the path to your XF directory since it's in a different location.
 
So I was using basic URLs on my vB forum. I've uploaded the needed files into my xen root, but it doesn't redirect me to the proper threads. I've checked my archive_log table and it seems full of data. What am I missing?

edit: I thought it was that I missed editing the 301.php script to include the table name. But I just did that and it didn't help.
 
Last edited:
Back
Top Bottom