XF 1.5 Fix Forum/forum issue on subdirectory?

GreenflyM

Member
I'm already running a wordpress site on the root domain so XF needs to be installed in a subdirectory. I called this forum, but i see that this creates an issue where it's listed as forum/forum/. Even if I change the name, this is still terrible from an SEO perspective. I looked through the forums, but can't seem to find a concrete answer to my issue. I feel like adding some code to my .htaccess (see below) might work, but will this cause any issues with my site?

Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /

RewriteRule ^forum/(.*)$ /$1 [L,NC,R]
 
Top Bottom