htacces file(s)

DigNap15

Adherent
Joined
Sep 14, 2019
Messages
300
Hello
I have a Xenforo forum with a handcoded (by me) website linked together and on the same webhost and in the same folder (but in seperate sub folders of course)

I have ended up with 2 htaccess files 1 in my website folder and 1 in the xenforo folder.
As I am a newbie at this, do I need them both?

At the moment they are both just about empty.
But I am thinking about adding a lot of IP rules.
 

ripptech

Professional Lurker
Joined
Aug 16, 2010
Messages
62
short answer is yes. if your forum is in a subfolder of your site's root, its going to need the directives in its .htaccess. Your root folder will need the directives in that .htaccess.

longer answer is probably but won't know for sure without looking at them both and knowing what is in each folder. It just depends.
 
Top