#Options +FollowSymLinks

Options -Multiviews
RewriteEngine on
#RewriteBase /


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)\/?$ index.php?name=$1

#RewriteCond %{HTTPS} !^on$
#RewriteRule ^(.*)\/?$ https://zentrove.com/zcp/ [R,L]
#RewriteCond %{HTTP_HOST} ^www\.(.*)
#RewriteRule ^.*$ https://%1/$1 [R=301,L]

RewriteCond %{HTTPS} !=on
#RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
#RewriteRule ^.*$  https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
#RewriteRule ^/?(.*) https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
#RewriteRule ^/?zcp/(.*) https://%{SERVER_NAME}/zcp/$1 [R,L]

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

