Create a .htaccess file in which ever directorys you want to encrypt.
In this example the directory is /encrypted
RewriteEngine On
RewriteRule ^(.*)$ https://www.example.com/encrypted/$1 [R,L]
Create a .htaccess file in which ever directorys you want to encrypt.
In this example the directory is /encrypted
RewriteEngine On
RewriteRule ^(.*)$ https://www.example.com/encrypted/$1 [R,L]