• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

vBulletin 4.x URL Redirection

Status
Not open for further replies.

Moses

Well-known member
Thanks for a brilliant plugin Dark Imortal,
Donation on its way to you next week.

I'm using nginx proxying to Apache, and also changed folders with this migration. I found the old forum and thread URLs would take the user to the new forumhome, and ended up using the following rewrites

Code:
                rewrite ^/forum/threads/(.*)$ /community/threads/$1 permanent;
                rewrite ^/forum/forums/(.*) /community/forums/$1 permanent;
                rewrite ^/forum/ /community/ permanent;
The third rule was to ensure that visits to forumhome were migrated.
 

polle

Active member
I am about to do this and will really appreciate your advice.

This is how I have the things.

domain.com/vbforum
domain.com/xfforum

In Root I have WP working, so what exactly I should have in each directory .htaccess file ?

Anything else to have in mind ?
Will this work no matter if I change XF URLs ?
Will I have to keep the vbforum directory forever ?

Thanks in advance and the more you can explain, the better :).
 

polle

Active member
Well I did it and use redirect to make it work.

Code:
Redirect 301 /vbforum/showthread.php http://www.site.com/xfforum/showthread.php
Redirect 301 /vbforum/forumdisplay.php http://www.site.com/xfforum/forumdisplay.php
Maybe it helps someone else.
 
Okay, I'm having a terrible time trying to get this working. I followed the instructions for a Basic URL with change of directory, and setup the import redirection...

This URL:
http://civilwartalk.com/forums/show...t-General-Store-Your-Civil-War-Uniform-Outlet

Should redirect here:
http://civilwartalk.com/threads/the-home-front-general-store-your-civil-war-uniform-outlet.22063/

I'm using:
Code:
    RewriteRule ^/forums/showthread.php /threads/
    RewriteRule ^/forums/forumsdisplay.php /forums/
I'm using XenPorta to create my root homepage, is that what's goofing my redirect up?
 
I figured it out, it's not clear in the instructions that the uploaded files go to the vB folder, I put them in the XF root folder and accomplished nothing... I created a replacement /forums/ folder and re-uploaded the files, and all is working. Yay!
 
If I have my vbulletin forum in the root and also want my xenforo forum in the root, do I need this plugin or should I just add the vbseo redirection code the the .htaccess?
 
I am getting redirected to the forum home page when following all old links from the vbulletinlink structure.

After I follow the 5 steps under "Mod_Rewrite URLs:"

If I disable the add on it then gives "page not found".

My .htaccess file is the default one that comes with xenforo (htaccess.txt)

Is there any solution for this? I'm using xenforo 1.1.
 

Luke F

Well-known member
I am getting redirected to the forum home page when following all old links from the vbulletinlink structure.

After I follow the 5 steps under "Mod_Rewrite URLs:"

If I disable the add on it then gives "page not found".

My .htaccess file is the default one that comes with xenforo (htaccess.txt)

Is there any solution for this? I'm using xenforo 1.1.
Anything in the XenForo/php/apache error logs?
 
Anything in the XenForo/php/apache error logs?
This issue has been resolve in another thread I made:
http://xenforo.com/community/threads/old-urls-redirect-issue.25435/

However now there is another problem that came up, the thread and forums work which is the most important, but then the URLs for member results in the xenforo error "The requested page could not be found."

Also, if the URL for a thread goes to page 2 or higher, it goes back to the first page. This is not too important for SEO and I will not consider it as a problem, but I just want to point it out.

P.S: I'll probably be using your other mods also, so useful :) I'll add you to my list of people to donate when my xenforo migration has gone live.
 
Status
Not open for further replies.