Xenforo 2 NGINX - Friendly URL vBulletin Redirects Tutorial
Many people have migrated their forums from vBulletin 4 to Xenforo 2. So many in fact, that Xenforo has a vbulletin to Xenforo redirect plugin.
This addon doesn't work out of the box with NGINX, especially when using SEO friendly URLS. I'm going to show you how to fix that.In order to use Friendly URLS, Xenforo 2 requires special changes to the NGINX config. On Apache it works out of the box, but if you're using NGINX you need to make some changes outlined in the Xenforo 2 Manual.
This tutorial will teach you how to setup Friendly URL redirection from vBulletin to Xenforo using NGINX. If you're using the vBulletin to Xenforo 2 redirect plugin you will also need to modify the try_files directive because out of the box this plugin does not work on NGINX with vBulletin redirects. It works fine out of the box in Apache but not NGINX.
Time stamps:
0:00 Setup friendly URLs
0:20 Nginx setup for friendly URLs
1:26 Friendly URLs for vBulletin migrated forums
1:42 XenForo Redirects plugin for Nginx
3:54 Consclusion
Discussion: https://guidedhacking.com/threads/centminmod-tutorial-digital-ocean-cloudflare-nginx.14685/#post-90163
Support us on Patreon: http://bit.ly/38mnveC
Links from video:
https://xenforo.com/community/resources/xenforo-redirects-for-vbulletin.6123/
https://xenforo.com/community/threads/xenforo-redirects-for-vbulletin.142137/post-1255940
https://centminmod.com/nginx_configure_xenforo_seo_friendly_urls.html
https://xenforo.com/community/threads/xenforo-redirects-for-vbulletin.142137/page-4#post-1255940
XenForo is a commercial Internet forum software package written in PHP. It was developed by former vBulletin lead developers Kier Darby and Mike Sullivan and released on March 8, 2011.
Nginx is a popular web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. It was created by Igor Sysoev and publicly released in 2004. It is estimated to be used by around third of the websites.
In this tutorial, you will be learning how to use Xenforo friendly URLs and how to properly configure Nginx to work correctly with them. You will also learn how to solve the issues with URL formats when migrating from vBulletin to Xenforo 2. To enable friendly URL redirects, you need to go to the admin control panel and open Search Engine Optimization (SEO) options. There, check “Use full friendly URLs” and you may also want to check “Convert URLs to page titles” which is also referred to as unfurling. But this raises a problem when using Nginx. To solve the issue, you will need to modify the Nginx configuration file accordingly. Another issue occurs if your forum was migrated from vBulletin to Xenforo 2 because the URL formats are different. To get around it, you will need to use “XenForo Redirects for vBulletin” plugin. But again, it does not work as is when using Nginx and you will also have to modify the Nginx configuration file. Once the plugin is installed, go to the options and select the corresponding vBulletin import log table.
After watching this video, you will have learnt to configure your Xenforo 2 forum to use friendly URLs as well as how to handle the URL format issues when migrating from vBulletin and how to deal with the problems that will face you with the process when using Nginx.
Donate on our Forum : http://bit.ly/2HkOco9
Support us on Patreon : http://bit.ly/38mnveC
Follow us on Facebook : http://bit.ly/2vvHfhk
Follow us on Twitter : http://bit.ly/3bC7J1i
Follow us on Twitch : http://bit.ly/39ywOZ2
Follow us on Reddit : http://bit.ly/3bvOB57
Follow us on GitHub : http://bit.ly/2HoNXIS
Follow us on Instagram : http://bit.ly/2SoDOlu
https://guidedhacking.com