I’m trying to get my site a bit better and saver, therefore I need to edit something in the .htaccess file (yes, outside MODx to keep it safe)
Now I noticed that I have two versions?! And not because of my own doing I think.
.htaccess
.htaccess.preinstall
They both have a lot of info in them… which one should I use? and why?
I’ve never seen a .htaccess.preinstall file and it’s definitely not from MODX.
(In fact MODX only comes with a file ht.access, and you have to rename it to .htaccess yourself.)
My guess is, that the file .htaccess is the one that gets used.
I have the idea that the preinstall one is the original version I have had used before I moved over to MODx. So not sure if the MODx .htaccess content is added or that the original version is being ignored in total.