Can't create .htaccess file

Discussion in 'Free Hosting' started by MilkshakeSpoon, Jun 30, 2014.

  1. MilkshakeSpoon

    MilkshakeSpoon New Member

    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I get the following error when trying to create the file .htaccess in the file manager.
    The page at https://xo2.x10hosting.com:2038 says:
    ERROR: Could not create file ".htaccess" in /home/milksha3/public_html: File exists​
    THE FILE DOES NOT ALREADY EXIST! and if it does then it certainly isn't visible to me.

    I am also having trouble using FTP. When I connect the only file I get is .ftpquota and that's it.
     
  2. Anna

    Anna I am just me Staff Member

    Messages:
    8,403
    Likes Received:
    241
    Trophy Points:
    63
    You need to tick the option to "Show Hidden Files (dotfiles)" when you open the filemanager in order to see the already existing .htaccess file.

    There's no hosting account attached to the forum account you are currently posting from so I can not look into the account any further at this time.
    If you don't know what forum account is attached to your hosting account you can find that out, or switch to another existing one, if you login to the portal, click "Get support" and then "Visit forums".
     
  3. adamgx10

    adamgx10 New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Apologies this is the account that is currently attached to the account (Thought I changed it). How exactly do you find this 'Show hidden files' option?
    If you could look into the ftp problem that would be fantastic.
     
  4. Dead-i

    Dead-i x10Hosting Support Ninja Community Support

    Messages:
    6,084
    Likes Received:
    364
    Trophy Points:
    83
    Hi MilkshakeSpoon,

    When you enter the File Manager from the standard cPanel x3 theme, a popup shows by default. Please could you verify that you have the "Show Hidden Files (dotfiles)" checkbox ticked?

    [​IMG]

    Also, please can I ask what username you are logging into FTP with?

    Thank you,
     
  5. descalzo

    descalzo Grim Squeaker Community Support

    Messages:
    9,375
    Likes Received:
    327
    Trophy Points:
    83
    For .htaccess
    1) Log onto cPanel
    2) DO NOT USE x10 basic ... use x3
    3) At the bottom of the page, click on reset all interface settings
    4) Click on FileManager , a pop-up window should appear
    5) Check box to show hidden/dot files
    6) You should be able to see and edit .htaccess
     
  6. adamgx10

    adamgx10 New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi I have managed to do what I wanted to do in the .htaccess file... Thank you
    I am still however, having problems with FTP (I only have one FTP account so you can work it out from there? Rather not say the username for security purposes) Again, all I get when I connect is a file called .ftpquota
     
  7. Dead-i

    Dead-i x10Hosting Support Ninja Community Support

    Messages:
    6,084
    Likes Received:
    364
    Trophy Points:
    83
    Hi,

    You can always login with your cPanel username and password into FTP, instead of creating another FTP account in cPanel. Logging into FTP with your cPanel username and password will give you full access to your account's files :)

    Thank you,
     

Share This Page