Jump to content

Recommended Posts

Hello. I have a couple of questions about .htaccess on TCH.


Where do I find my .htaccess file within ftp if I want to edit it manually? If it is not there than where do I find it?


Right now I have an index page that's written in php. If someone types index.htm into the url locator, an error page will come up. I would like to add a line to .htacess that will show this index page written in php even if it is index.html or .htm that is typed into the url locator or clicked on.


How can I do that?

Link to post
Share on other sites

Welcome to the forum, osoguy. :)


You will find it inside your public_html directory. It will most likely be hidden in your ftp program so you may need to instruct the ftp to show hidden files. However, as far as I know, there´s also a chance that there may not be a htaccess file in the public_html, you will then need to create it.


I dont know the answer to #2 so someone else will need to answer that.


Hope this helps.

Link to post
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.

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...