How do i change the .htaccess on cPanel's Online File Manager (ByetHost)?

Multi tool use


How do i change the .htaccess on cPanel's Online File Manager (ByetHost)?
I'm using ByetHost as my website's FTP service, i configure everything (besides uploading the stuff) via ByetHost's Vista Panel, which has a Online File Manager where i presume i could edit the .htaccess.
However when i arrive at the File Manager, i can't seem to find the .htaccess file, and there is also a lack of a Settings button too.
Here is what the File Manager looks like: (the htdocs is where all my website's stuff is at)
I know ByetHost and/or whatever this unknown File Manager is not well known, but i'd like to ask anyways if there's anyone that could help me on how to configure my .htaccess. I would appreciate it.
1 Answer
1
I had this issue too, and couldn't find any settings or otherwise.
So what I simply did was:
Just created a new file and named it .htaccess
!
.htaccess
And a quick test, I put in the following to allow access to my .html
pages without actually typing the extension:
.html
RewriteEngine on
RewriteRule ^(.+).html$ /$1 [R,L]
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*?)/?$ /$1.html [NC,END]
And it worked successfully.
Did you figure it out before this or use a different host? I just took a stab in the dark and created my own and it worked, as I couldn’t find the settings either and it wasn’t practical for me to change host provider. I edited the title for other users in the future also.
– notyou
5 mins ago
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Can't believe i got my answer a full year later. Thanks.
– sodaddict
1 hour ago