XF 2.0 After Upgrade, Redirect URL Error

Sota

Member
Hello,

Mybb, Xenforo I want to switch , I'm testing on another server xenforo

Mybb forums, topics, posts , Xenforo 1.5.7 I transfer

mybb googleseo sql table, mybbforumredir.php , mybbthreadredir.php using , I did 301 redirects , fully redirected

without installing any plugin language patch

I updated xenforo 2.0.2 ,after update , 301 redirects are not working , update url forwarding

example

xenforo 1.5.7 Normal

mybb url xxxx.com/forum-duyurular.html
xenforo url xxxx.com/forums/duyurular.4/


xenforo after update 1.5.7 > 2.0.2 Error

mybb url xxxx.com/forum-duyurular.html
xenforo url xxxx.com/install/index.php?upgrade/

how can i solve this problem
 
Solution
problem is solved

mybbxxxredir.php change

New XF2 init:

Code:
<?php

$dir = __DIR__;
require ($dir . '/src/XF.php');

XF::start($dir);

####################

// GET DB
$db = XF::app()->db();

$_REQUEST['slug'] = (isset($_REQUEST['slug']) ? $_REQUEST['slug'] : '');

.......
problem is solved

mybbxxxredir.php change

New XF2 init:

Code:
<?php

$dir = __DIR__;
require ($dir . '/src/XF.php');

XF::start($dir);

####################

// GET DB
$db = XF::app()->db();

$_REQUEST['slug'] = (isset($_REQUEST['slug']) ? $_REQUEST['slug'] : '');

.......
 
Solution
Back
Top Bottom