Resource icon

Redirection Scripts for vBulletin 3.x 8.0

No permission to download
Thanks for this. However I've hit a little snag.

Our old vbulletin URL was .co.uk/forums
Xenforo is installed in the root of our site now, however ..... .co.uk/forums takes us to the XenForo index (.co.uk is the portal).

Therefore if I upload these files to a folder called /forums.....then I can no longer access our forums.
 
Thanks for this. However I've hit a little snag.

Our old vbulletin URL was .co.uk/forums
Xenforo is installed in the root of our site now, however ..... .co.uk/forums takes us to the XenForo index (.co.uk is the portal).

Therefore if I upload these files to a folder called /forums.....then I can no longer access our forums.

To redirect you can't have a folder /forums.

Xenforo will direct forum area to /forums automatically as long as you have proper redirects.
 
Yup. And therein lies my problem :)
How do I use these scripts to redirect my old vbulletin links? :p

There are ways to work around this conflict. To know which one to use I need an example old and new URL of the same thread in both vB and XF. Then I can be certain about your redirects and provide exact instructions.
 
Edit : Completely ignore me, I thought this was an old user (I had the same error the other day and it was....)
This is a new user signed up today, so I'll look into it..

Ignore me!
 
FWIW this is my nginx conf for that domain:

Code:
#301 redirect non-www to www
server {
    server_name  v6mustang.com;
    rewrite ^    http://www.v6mustang.com$request_uri? permanent;
}

server {
  server_name www.v6mustang.com;

# ngx_pagespeed & ngx_pagespeed handler
include /usr/local/nginx/conf/pagespeed.conf;
include /usr/local/nginx/conf/pagespeedhandler.conf;
include /usr/local/nginx/conf/pagespeedstatslog.conf;

  # limit_conn limit_per_ip 16;
  # ssi  on;

  access_log /home/nginx/domains/v6mustang.com/log/access.log combined buffer=32k;
  error_log /home/nginx/domains/v6mustang.com/log/error.log;

  root /home/nginx/domains/v6mustang.com/public;

  location / {
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?$uri&$args;
# block common exploits, sql injections etc
#include /usr/local/nginx/conf/block.conf;

  # Enables directory listings when index file not found
  #autoindex  on;

  # Shows file listing times as local time
  #autoindex_localtime on;

  # Enable for vBulletin usage WITHOUT vbSEO installed
  #try_files        / /index.php;

  }

  location /internal_data/ {
        internal;
}
location /library/ {
      internal;
}

location ~ \.php$ {
        try_files $uri =404;
        fastcgi_pass    127.0.0.1:9000;
        fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include        fastcgi_params;
}

location /vb/ {
    rewrite ^/vb/f[\d]+/.+-([\d]+)/index([\d]+).html /vb/showthread.php?t=$1&page=$2 last;
    rewrite ^/vb/f[\d]+/.+-([\d]+)/ /vb/showthread.php?t=$1 last;
    rewrite ^/vb/f([\d]+)/index([\d]+).html /vb/forumdisplay.php?f=$1&page=$2 last;
    rewrite ^/vb/f([\d]+)/ /vb/forumdisplay.php?f=$1 last;
}

  include /usr/local/nginx/conf/staticfiles.conf;
  include /usr/local/nginx/conf/php.conf;
  include /usr/local/nginx/conf/drop.conf;
  #include /usr/local/nginx/conf/errorpage.conf;
}
 
Top Bottom