• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Nginx rewrite code for phpBB 3.0.x to XF with SEO urls. 0.2

No permission to download
#1
Anarchy Angel submitted a new resource:

Nginx rewrite code for phpBB 3.0.x to XF with SEO urls. - rewrite rules for default phpBB urls to XF SEO urls.

This will only work if you imported to XF from phpBB with the same content ids and XF SEO-optimized urls are turned on. It is a simple rewrite rule that redirects the user from viewtopic.php to threads.

If you have a non-default XF URL, you will need to edit accordingly. Replace /forum/ with whatever path you specified.

In your server block, place these rewrite rules.
Code:
        rewrite ^\/forum\/viewtopic\.php /forum/threads/$arg_t/? permanent;
        rewrite...
Read more about this resource...