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

XF 1.5 .htaccess slight url change

#1
Some very old imported threads link to a nonworking url string for threads.

domain.com/forum/

now

domain.com (no /forum/ subdirectory as the forum is now in root)

What should I add to .htaccess to amend this?

RewriteCond %{HTTP_HOST} domain.com/forum/$
RewriteRule ^(.*)$ http://domain.com$1 [R=301,L]

Is this incorrect?