I moved my XF forum from root to '/community/' subdirectory.
htaccess file in root directory showed:
Everything was working fine, until I installed Wordpress in the root directory. The new htaccess file in root shows:
Now the old XF links doesn't get redirected to the new ones (/community/).
What could be the issue and how do I fix?
htaccess file in root directory showed:
Code:
RewriteEngine On
RewriteRule ^threads/(.*)$ community/threads/$1
RewriteRule ^posts/(.*)$ community/posts/$1
RewriteRule ^media/(.*)$ community/media/$1
RewriteRule ^whats-new/(.*)$ community/whats-new/$1
RewriteRule ^members/(.*)$ community/members/$1
RewriteRule ^help/(.*)$ community/help/$1
RewriteRule ^help/terms/(.*)$ community/help/terms/$1
RewriteRule ^help/privacy-policy/(.*)$ community/help/privacy-policy/$1
RewriteRule ^forums/(.*)$ community/forums/$1[R=301,NC,L]
Everything was working fine, until I installed Wordpress in the root directory. The new htaccess file in root shows:
Code:
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteEngine On
RewriteRule ^threads/(.*)$ community/threads/$1
RewriteRule ^posts/(.*)$ community/posts/$1
RewriteRule ^media/(.*)$ community/media/$1
RewriteRule ^whats-new/(.*)$ community/whats-new/$1
RewriteRule ^members/(.*)$ community/members/$1
RewriteRule ^help/(.*)$ community/help/$1
RewriteRule ^help/terms/(.*)$ community/help/terms/$1
RewriteRule ^help/privacy-policy/(.*)$ community/help/privacy-policy/$1
RewriteRule ^forums/(.*)$ community/forums/$1[R=301,NC,L]
Now the old XF links doesn't get redirected to the new ones (/community/).
What could be the issue and how do I fix?