Zynektic
Well-known member
Evening,
I moved the forum files from /forums to root and updated the board url to https://domain.com before doing the file changes and that shows fine however, when clicking a category it is showing up as not found as it is adding /forums to the URL.
The above is what I added to the top of the .htaccess but not sure if this is correct? Also trying to use CTA Featured Threads with this so need it fixed so I can add index routing to threads/featured again if possible.
Thanks for any help!
I moved the forum files from /forums to root and updated the board url to https://domain.com before doing the file changes and that shows fine however, when clicking a category it is showing up as not found as it is adding /forums to the URL.
Code:
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^forums/(.*)?$ /$1 [R=301,L]
The above is what I added to the top of the .htaccess but not sure if this is correct? Also trying to use CTA Featured Threads with this so need it fixed so I can add index routing to threads/featured again if possible.
Thanks for any help!