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

Implemented Rename htaccess in the zip file

Discussion in 'Closed Suggestions' started by Jake Bunce, Oct 26, 2010.

  1. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Change it from ".htaccess" to "htaccess.txt". Include instructions to rename the file if needed. Two reasons:

    1) Mac users will be able to see the file by default.

    2) Existing installations with custom htaccess files don't need to worry about accidentally overwriting.

    I suggest doing the same for the favicon image so you can keep it in the forum root which is the most intuitive place for it.
  2. Peter

    Peter Active Member

    Since many users (myself included) will simply upload all the files within the folder, it will certainly overwrite the original and any custom rules will be lost. I didn't even know it was there until you mentioned it so I agree that it should be renamed.
  3. Floris

    Floris Guest

    Rename has my vote :)
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Isn't this only going to affect those who install in the root?

    If most people install in root/community or root/forum then it won't affect any existing files in the root.
  5. DSF

    DSF Well-Known Member

    Each source of error is one too many:) ... therefore rename htaccess
  6. Peggy

    Peggy Well-Known Member

    But to cover those who do install in the root, this is the way to go.
  7. Paul M

    Paul M Well-Known Member

  8. g0rn

    g0rn Well-Known Member

    I vote for keeping. It's easier not to reupload .htaccess file on every upgrade than tell everyone they need to rename the file in order to get nice urls working. People like when everything works out of the box.
    Furthermore, it is impossible in Windows Explorer to rename the file back to .htaccess, you have to use command prompt or third-party applications which will surely produce a lot of questions.
  9. Kier

    Kier XenForo Developer Staff Member

    We have a workaround in progress that should alleviate the concerns raised here without actually renaming the file.
    krstep and g0rn like this.
  10. Peter

    Peter Active Member

    Even if installed in root, users can still overwrite during copy. If it's renamed, less chance of error. xenforo can generate one on install.
  11. Brogan

    Brogan XenForo Moderator Staff Member

    I've marked this as implemented as upgrade zips don't contain the .htaccess file and there is also a .txt file included now.

    Let me know if this isn't the case Jake.
  12. Digital Doctor

    Digital Doctor Well-Known Member

    I don't think any instructions suggest this.
    Although they probably should.
  13. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Looks good to me.

Share This Page