Two things first:
By now the scripts supports forums, topics, posts and pagination.
- This is based on Redirection Script for SEO urls for phpbb by ReneHermi
- The script is very basic and will probably not be extended or supported
- I did only test this with phpBB 3.0.11 and XenForo 1.2.1
In your XenForos .htaccess find the line:
And before that insert:Code:RewriteRule ^.*$ index.php [NC,L]
Then download the attached phpbb.php file and insert it to your XenForo folder (on the same level where the .htaccess and index.php reside).Code:RewriteRule ^(viewforum|viewtopic)\.php phpbb.php [NC,L]
"/viewforum.php?f=X" should now redirect to "/index.php/forums/X/" and
"/viewtopic.php?t=X" should now redirect to "/index.php/threads/X/" and
"/viewtopic.php?p=X" should now redirect to "/index.php/posts/X/".
If you have chosen another value for the posts per page inside phpBB, than change the variable $postsPerPage to the proper value.