XF 1.5 .htaccess after moving XenForo Directory

Zynektic

Well-known member
Hi there,

Currently a site in domain.com/forums and wishing to move it into domain.com. SSL is configured and I added the following at the top of the .htaccess file.

Code:
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

When the SSL was added as we did not want it to be added to the WordPress inside the root until things were ready to be moved. Do I need to add anything else to the .htaccess when moving the forums other than altering the ACP URL?

Thanks
 
Do I need to add anything else to the .htaccess when moving the forums other than altering the ACP URL?
Do you mean with respect to those lines? They're generally location independent.

In terms of XF itself, it's really just the ACP URL that needs to be changed.
 
Those lines were just to get SSL working on the forum (not sure if it needs editing to force SSL and the site to non-www only?) and will keep those on top of moving it to root so will update the ACP URL, thanks.
 
Top Bottom