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

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


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)
enter image description here
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.





Can't believe i got my answer a full year later. Thanks.
– sodaddict
1 hour ago





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.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived