ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Accidently uploaded wrong htaccess file

February 22, 2008 6:37pm

Subscribe [2]
  • #1 / Feb 22, 2008 6:37pm

    Mbruijn

    12 posts

    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

    Joey Trimmer

    128 posts

    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

    Mbruijn

    12 posts

    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

    Joey Trimmer

    128 posts

    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

    Lisa Wess

    20502 posts

    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

    Promise

    2 posts

    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

    Ingmar

    29245 posts

    See the wiki.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases