## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On 
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/webp "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresDefault "access plus 1 month"
</IfModule>
## EXPIRES CACHING ##

<IfModule mod_headers.c>
Header always set X-Frame-Options "SAMEORIGIN"
Header always set X-XSS-Protection "1; mode=block"
Header always set X-Content-Type-Options "nosniff"
Header set Content-Security-Policy "default-src 'self' 'unsafe-inline' www.google-analytics.com ajax.googleapis.com fonts.googleapis.com fonts.gstatic.com 'unsafe-eval' cdn.lyoncitybreak.fr; img-src 'self' 'unsafe-inline' data: www.google-analytics.com cdn.lyoncitybreak.fr; font-src 'self' 'unsafe-inline' data: cdn.lyoncitybreak.fr;"
Header set Vary "Accept-Encoding"
</IfModule>

<IfModule mod_filter.c>
  # Compress HTML, CSS, JavaScript, Text, XML and fonts
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  AddOutputFilterByType DEFLATE application/x-font
  AddOutputFilterByType DEFLATE application/x-font-opentype
  AddOutputFilterByType DEFLATE application/x-font-otf
  AddOutputFilterByType DEFLATE application/x-font-truetype
  AddOutputFilterByType DEFLATE application/x-font-ttf
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE font/opentype
  AddOutputFilterByType DEFLATE font/otf
  AddOutputFilterByType DEFLATE font/ttf
  AddOutputFilterByType DEFLATE image/svg+xml
  AddOutputFilterByType DEFLATE image/x-icon
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/javascript
  AddOutputFilterByType DEFLATE text/plain
  AddOutputFilterByType DEFLATE text/xml

  # Remove browser bugs (only needed for really old browsers)
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  Header append Vary User-Agent
</IfModule>

# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTPS} =on
    RewriteRule .* - [E=W3TC_SSL:_ssl]
    RewriteCond %{SERVER_PORT} =443
    RewriteRule .* - [E=W3TC_SSL:_ssl]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteRule .* - [E=W3TC_ENC:_gzip]
    RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
    RewriteRule .* - [E=W3TC_PREVIEW:_preview]
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} =""
    RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
    RewriteCond %{HTTP_USER_AGENT} !(W3\ Total\ Cache) [NC]
    RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" -f
    RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" [L]
</IfModule>
# END W3TC Page Cache core
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_NAME} "musee-sante-lyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/musee-sante-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.musee-sante-lyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/musee-sante-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "congreslyoncinov2013.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/salons-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.congreslyoncinov2013.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/salons-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "carmelina-restaurant.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-restaurants-typiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.carmelina-restaurant.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-restaurants-typiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "aupetitbouchonchezgeorges.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/petit-bouchon-chez-georges-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.aupetitbouchonchezgeorges.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/petit-bouchon-chez-georges-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "each-lyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/sortie-cinema-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.each-lyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/sortie-cinema-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "heleneboucher.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/lycee-helene-boucher.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.heleneboucher.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/lycee-helene-boucher.html" [L,R=301]
RewriteCond %{SERVER_NAME} "hoteldelyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-hotels-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.hoteldelyon.fr.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-hotels-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "salondesce.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/salon-des-ce-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.salondesce.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/salon-des-ce-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "gitealyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/appartements-authentiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.gitealyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/appartements-authentiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "gueulesdelyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/gueules-de-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.gueulesdelyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/gueules-de-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "le-merciere.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/le-merciere-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.le-merciere.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/le-merciere-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "lhivernaldelyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/musees-de-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.lhivernaldelyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/musees-de-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "lyonspa.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/faire-a-lyon-pleut.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.lyonspa.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/faire-a-lyon-pleut.html" [L,R=301]
RewriteCond %{SERVER_NAME} "lakroche.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/ou-sortir-soiree-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.lakroche.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/ou-sortir-soiree-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "un-hotel-a-lyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-hotels-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.un-hotel-a-lyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-hotels-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "annuaire-ville-lyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/guide-gratuit-visiter-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.annuaire-ville-lyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/guide-gratuit-visiter-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "hotel-saintgenis.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-hotels-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.hotel-saintgenis.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-hotels-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "lepetitflore.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/top-6-bouchons-lyonnais.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.lepetitflore.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/top-6-bouchons-lyonnais.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.resto-halle.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/top-6-bouchons-lyonnais.html" [L,R=301]
RewriteCond %{SERVER_NAME} "resto-halle.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/top-6-bouchons-lyonnais.html" [L,R=301]
RewriteCond %{SERVER_NAME} "lachapelle-lyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-restaurants-typiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.lachapelle-lyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-restaurants-typiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "coteresto.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-restaurants-typiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.coteresto.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-restaurants-typiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "appartementlyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/appartements-authentiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.appartementlyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/appartements-authentiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "metlyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/" [L,R=301]
RewriteCond %{SERVER_NAME} "www.metlyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/" [L,R=301]
RewriteCond %{SERVER_NAME} "lycee-college-saint-exupery.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/lycee-helene-boucher.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.lyonenfrance.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/" [L,R=301]
RewriteCond %{SERVER_NAME} "lyonenfrance.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/" [L,R=301]
RewriteCond %{SERVER_NAME} "www.chef-gourmet69.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-restaurants-typiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "chef-gourmet69.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-restaurants-typiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "auberge-le-baladin.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-restaurants-typiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.auberge-le-baladin.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-restaurants-typiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.chambrehotelyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/appartements-authentiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "chambrehotelyon.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/appartements-authentiques-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "hotel-orleans-lion-dor.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-hotels-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.hotel-orleans-lion-dor.fr"
RewriteRule "(.*)" "https://lyoncitybreak.fr/10-hotels-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.metro-lyon.com"
RewriteRule "(.*)" "https://lyoncitybreak.fr/metro-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "metro-lyon.com"
RewriteRule "(.*)" "https://lyoncitybreak.fr/metro-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "www.cinema-lyon.com"
RewriteRule "(.*)" "https://lyoncitybreak.fr/sortie-cinema-a-lyon.html" [L,R=301]
RewriteCond %{SERVER_NAME} "cinema-lyon.com"
RewriteRule "(.*)" "https://lyoncitybreak.fr/sortie-cinema-a-lyon.html" [L,R=301]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
