XF 1.5 Phpbb to Xenforo URL redirection

mastera

Member
Hi,

I recently moved from Phpbb to Xenforo and I need to make the old URLs link to the new URLs as they are different. How can I do that?

Thanks.
 
If you're running Nginx, you're going to need an alternative to the rewrite rule as .htaccess doesn't do anything. (This is a good example of where running Nginx requires additional technical knowledge).

I have not tried this, but the following may work:
Code:
location ~ /forum/(viewforum|viewtopic)\.php$ {
try_files /xf/phpbb.php?$uri&$args =404;
}
 
If you're running Nginx, you're going to need an alternative to the rewrite rule as .htaccess doesn't do anything. (This is a good example of where running Nginx requires additional technical knowledge).

I have not tried this, but the following may work:
Code:
location ~ /forum/(viewforum|viewtopic)\.php$ {
try_files /xf/phpbb.php?$uri&$args =404;
}
Where should I use this? In .htaccess?
 
Top Bottom