Options +Multiviews

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php

# SSL Https active Force non-www
<IfModule mod_rewrite.c>	
RewriteEngine on	
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]	
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]	
RewriteCond %{HTTPS} !=on	
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>