I accidently uploaded a wrong htacces file to my EE root folder. Before this happened, I’ve never seen a htaccess file in this folder, but was it there?
Everything works still fine. Is there usually such a file from EE and do I have a problem now?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
February 22, 2008 6:37pm
Subscribe [2]#1 / Feb 22, 2008 6:37pm
I accidently uploaded a wrong htacces file to my EE root folder. Before this happened, I’ve never seen a htaccess file in this folder, but was it there?
Everything works still fine. Is there usually such a file from EE and do I have a problem now?
#2 / Feb 22, 2008 7:08pm
Nope! You’re good. No htaccess in your EE root is included. I typically add one there to get rid of the index.php (source) though.
#3 / Feb 22, 2008 7:14pm
Ok, thank you. I already thought it wouldn’t be a problem, because the whole site is still working perfect. Just for sure, I wanted to check.
I also wan’t to get rid of the index.php. Is it better to do it now, while building, after the building or doesn’t it matter?
#4 / Feb 22, 2008 7:18pm
No prob! I usually try and get rid of the index.php before I get too heavy in development because certain hosts are more of a pain than others. Would rather have it done and out of the way.
#5 / Feb 22, 2008 8:41pm
Thanks for stepping in, Joey. And spot on - there is no .htaccess shipped with ExpressionEngine. I agree, make sure you’re building with the links you’ll use in the end, makes it easier. =) It doesn’t really matter, if you use path= statements, though.
#6 / Mar 14, 2008 6:57am
A bit of a n00b here… How do I create a htaccess-file to get rid of the index.php?
#7 / Mar 14, 2008 7:06am
See the wiki.