I have a XenForo installation in a /community/ subfolder. The rest of the website auto-redirects to non-www. However Xenforo won't operate on a non-www URL, upon accessing /community, the forum just doesn't appear and reverts to the parent website's wordpress 404 page.
The only solution has been a htaccess file in the /community folder which autoredirects to the www. version of the URL, and then the forum runs properly, using the following:
RewriteCond %{HTTP_HOST} ^wine-pages\.com$ [NC]
RewriteRule ^(.*)$ https://www.wine-pages.com/community/$1 [R=301,L]
Ultimately I want everything on non-www. Thanks in advance for any help.
The only solution has been a htaccess file in the /community folder which autoredirects to the www. version of the URL, and then the forum runs properly, using the following:
RewriteCond %{HTTP_HOST} ^wine-pages\.com$ [NC]
RewriteRule ^(.*)$ https://www.wine-pages.com/community/$1 [R=301,L]
Ultimately I want everything on non-www. Thanks in advance for any help.