Bluehost Tips

 

File Manager: Show Hidden Files

* Open File Manager from: cPanel > File Manager
* Select: Preferences > Show hidden files
* If File Manager not showing hidden files such as .htaccess, then append to File Manager query:

&showhidden=1&saveoption=1

* See here for more details.

Redirect to a Subdirectory

* Open or create file named .htaccess in the sub-directory
* Append to the file and save:

RewriteEngine on
RewriteRule ^$ /subdir1/ [L]

* See here

Force HTTPS

* Open or create file named .htaccess in the sub-directory
* Append to the file and save:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
This entry was posted in hosting and tagged . Bookmark the permalink.