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

XF 1.5 Directory change issues

Discussion in 'Troubleshooting and Problems' started by Zynektic, Oct 7, 2015.

  1. Zynektic

    Zynektic Well-Known Member


    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.

    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!
  2. Jeremy

    Jeremy Well-Known Member

    Your rewrite conditional doesn't take into account the fact that the route for categories & forum nodes is forums/name.id/. You would need to modify that to exclude this situation.
  3. Zynektic

    Zynektic Well-Known Member

    Thanks for the reply, how would I do this, go into nodes and do it or is there another way?
  4. Zynektic

    Zynektic Well-Known Member

    Mr Lucky likes this.

Share This Page