RewriteEngine On
Options All -Indexes

#WWW Redirect
#RewriteCond %{HTTP_HOST} !^www\. [NC]
#RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

#HTTPS Redirect
#RewriteCond %{HTTP:X-Forwarded-Proto} !https
#RewriteCond %{HTTPS} off
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

#URL Rewrite
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1
#RewriteCond %{HTTP_HOST} ^adeltec\.com\.br$ [OR]
#RewriteCond %{HTTP_HOST} ^www\.adeltec\.com\.br$
#RewriteRule ^category\/slide$ "http\:\/\/www\.adeltec\.com\.br\/" [R=301,L]

