# BEGIN AV_HTTPS
###### ###### ###### ###### ##  DO NOT EDIT!
###### ###### ###### ###### ##
##       ##   ##  ## ##  ## ##  This is an automatically generated file,
##       ##   ##  ## ##  ## ##  any manual change will be lost.
######   ##   ##  ## ###### ##
######   ##   ##  ## ###### ##  NON MODIFICARE!
    ##   ##   ##  ## ##     ##
    ##   ##   ##  ## ##         Questo e' un file generato automaticamente,
######   ##   ###### ##     ##  qualsiasi modifica manuale verra' persa.
######   ##   ###### ##     ##

# If you think you need to edit this file, please open a new thread in our
# support forum (http://forum.en.altervista.org/cms/) explaining what you are
# trying to do.

# Se pensi di aver bisogno di modificare questo file, apri una nuova discussione
# sul nostro forum di supporto (http://forum.it.altervista.org/wordpress/)
# spiegando cosa stai cercando di fare.

RewriteCond %{QUERY_STRING} =""
RewriteRule ^wp-login\.php$ https://aa.altervista.org/?client_id=fanometeo_wordpress&response_type=code&lang=it&username=fanometeo&utm_source=wp&utm_medium=fanometeo&utm_campaign=ht_login [L,R]
AddHandler av-php73 .php
RewriteCond %{HTTP_HOST} !=fanometeo.altervista.org
RewriteCond %{HTTP:X-Forwarded-Host} !=fanometeo.altervista.org
RewriteRule ^ https://fanometeo.altervista.org%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP:X-Forwarded-Proto} !=https
RewriteCond %{HTTPS} =off
RewriteCond %{REQUEST_URI} !^.*/plugins/ecowitt/report/.*$
RewriteRule ^ https://fanometeo.altervista.org%{REQUEST_URI} [L,R=301]
SetEnv AV_TOOLBAR 0

# END AV_HTTPS


# BEGIN WordPress
# Le direttive (linee) tra `BEGIN WordPress` e `END WordPress` sono
# generate dinamicamente, e dovrebbero essere modificate solo tramite i filtri di WordPress.
# Ogni modifica alle direttive tra questi marcatori verrÃƒÂ  sovrascritta.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
