Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Redirector plugin: Not work on clean 2.6.3 installation with imported vbulletin 3.8 forum

zajazaja New
edited October 2018 in Vanilla 2.0 - 2.8

Hi,
I'm not sure do I have any extra step to do after plugin installation?
It seems that not work for me, clean 2.6.3 installation with imported vbulletin 3.8 forum (about 1 million posts and 500k private messages.)

Old links, such as showthread.php?p=1290045 or forumdisplay.php?f=117 open Page not found.

Thanks

Comments

  • I wouldn't see a reason why it shouldn't be working. Are you sure it is enabled? Sometimes users have write protected config.php files and therefore enabling a plugin fails.

  • There is a newer version of that plugin available, but from a quick look at the differences, I couldn't make out anything that should have an impact on that vbulletin redirection.
    But you can nevertheless try it: https://github.com/vanilla/addons/tree/release/2.6/plugins/Redirector

    That plugin is a very fine way to get started with an imported forum, but I would consider doing the redirect task on the server side by using appropriat Apache RewriteRules. I guess this would be more efficient.

  • Tested on live web hosting server and localhost, latest Redirector plugin installed from github, config.php is updated automatically with $Configuration['EnabledPlugins']['Redirector'] = true;.
    Right now I'm testing on localhost and the same story, can't get any useful redirection:
    For example old forum link:
    http://www.poljoprivredni-forum.com/showthread.php?p=1292143

    on test forum open:
    http://localhost/vanilla/showthread.php?p=1292143

  • K17K17 ✭✭✭

    Kinda late but it can help.

    To make Forum Redirector work you have to uncomment two lines in your htaccess:

       ####
       # Prevent access to any php script by redirecting the request to /index.php
       # You can add an exception by adding another RewriteCond after this one.
       # Example: RewriteCond %{REQUEST_URI} !^/yourscriptname.php$
       # You can comment out this section if it causes you problems.
       # This is just a nice to have for security purposes.
       ####
       #RewriteCond %{REQUEST_URI} !/index.php$
       #RewriteRule (.+\.php) [E=X_REWRITE:1,E=X_PATH_INFO:/$1,L]
    
Sign In or Register to comment.