Jump to content

Cannot Find .htaccess File


Recommended Posts

Hello, this is my first day with you guys, so forgive me if I'm ignorant....

 

I have not changed my dns yet, but I am looking at my site through the url given in the initial email. Before I put some test files up in the public_html directory, I deleted everything that was in the folder initially, but I think I removed the .htaccess file too!

 

I created a new one to see if the 404 error could point to my custom error page, but nothing happens when i upload it to the server. I cannot see the file, nor does an incorrect URL cause my error page to come up. Any ideas as to what I am doing wrong? This is my first time using Apache, I've been used to IIS for some time, so any help is greatly appreciated.

 

Thanks

Link to comment
Share on other sites

Welcome to the forums, programthisweb :)

 

For others with this problem,

if you are using an ftp program,

most will not show hidden files like the .htaccess file by default.

They generally have an option to show hidden files.

 

You can also see the file in your cpanel > file manager.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...