AddDefaultCharset utf-8 #Options +FollowSymLinks ErrorDocument 404 https://www.micro-la.com/open/ RewriteEngine on RewriteBase /open/ RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteRule (admin) - [L,NC] RewriteRule ^home$ index.php [L,NC] RewriteRule ^eng$ index.php?lang=eng [L,NC] #DA METTERE ex azienda.php RewriteRule ^company$ chi_siamo.php [L,NC] #DA METTERE ex prodotti_due.php RewriteRule ^design/([^/]+)/([^/]+)$ prodotti_tretre.php?extra_2=$1&titolo=$2 [L,NC] RewriteRule ^design$ prodotti_tretre.php [L,NC] #DA METTERE ex servizi.php RewriteRule ^services/([^/]+)/([^/]+)$ servizi_new.php?serv=$1&titolo=$2 [L,NC] RewriteRule ^services$ servizi_new.php [L,NC] #RewriteRule ^aaaservices/([^/]+)/([^/]+)$ servizi_new.php?serv=$1&titolo=$2 [L,NC] #RewriteRule ^aaaservices$ servizi_new.php [L,NC] #RewriteRule ^aaadesign$ prodotti_tretre.php [L,NC] #RewriteRule ^aaadesign/([^/]+)/([^/]+)$ prodotti_tretre.php?extra_2=$1&titolo=$2 [L,NC] #PREVIEW RewriteRule ^home-preview$ index_due.php [L,NC] RewriteRule ^design-detail/([^/]+)/([^/]+)$ scheda_due.php?id=$1&titolo=$2 [L,NC] RewriteRule ^services-preview/([^/]+)/([^/]+)$ servizi.php?serv=$1&titolo=$2 [L,NC] RewriteRule ^services-preview$ servizi.php [L,NC] #NEWS PREVIEW RewriteRule ^news-preview/([^/]+)/([^/]+)/([^/]+)$ blog_1_due.php?id=$1&titolo=$2&pag=$3 [L,NC] RewriteRule ^news-preview/([^/]+)/([^/]+)$ blog_1_due.php?id=$1&titolo=$2 [L,NC] RewriteRule ^news-preview/([^/]+)$ blog_due.php&pag=$1 [L,NC] RewriteRule ^news-preview blog_due.php [L,NC] RewriteRule ^date-news-preview/([^/]+)/([^/]+)/([^/]+)$ blog_due.php?anno=$1&mese=$2&pag=$3 [L,NC] RewriteRule ^date-news-preview/([^/]+)/([^/]+)$ blog_due.php?anno=$1&mese=$2 [L,NC] RewriteRule ^tech-pills/([^/]+)/([^/]+)/([^/]+)$ tech_1_due.php?id=$1&titolo=$2&pag=$3 [L,NC] RewriteRule ^tech-pills/([^/]+)/([^/]+)$ tech_1_due.php?id=$1&titolo=$2 [L,NC] RewriteRule ^tech-pills/([^/]+)$ tech_due.php&pag=$1 [L,NC] RewriteRule ^tech-pills tech_due.php [L,NC] RewriteRule ^who-we-are$ chi_siamo.php [L,NC] RewriteRule ^projects$ progetti.php [L,NC] RewriteRule ^release$ pubblicazioni.php [L,NC] RewriteRule ^testimonials$ testimonianze.php [L,NC] RewriteRule ^laser-ready$ prodotto.php [L,NC] RewriteRule ^laser-slider$ prodotto_2.php [L,NC] RewriteRule ^gmca$ prodotto_3.php [L,NC] RewriteRule ^contacts$ contatti.php [L,NC] RewriteRule ^assistenza$ assistenza_tecnica.php [L,NC] RewriteRule ^project/([^/]+)/([^/]+)$ schedainnovazione.php?id=$1&titolo=$2 [L,NC] RewriteRule ^project$ innovazione.php [L,NC] RewriteRule ^products/([^/]+)/([^/]+)$ prodotti_due.php?extra_2=$1&titolo=$2 [L,NC] RewriteRule ^products$ prodotti_due.php [L,NC] RewriteRule ^service/([^/]+)/([^/]+)$ servizio.php?id=$1&titolo=$2 [L,NC] RewriteRule ^product/([^/]+)/([^/]+)$ scheda.php?id=$1&titolo=$2 [L,NC] RewriteRule ^search/([^/]+)$ research.php&pag=$1 [L,NC] RewriteRule ^search$ research.php [L,NC] RewriteRule ^privacy$ privacy-policy.php [L,NC] RewriteRule ^cookie$ cookie-policy.php [L,NC] #RewriteRule ^news/presentazione-smartv blog_1.php [L,NC] RewriteRule ^news/([^/]+)/([^/]+)/([^/]+)$ blog_1.php?id=$1&titolo=$2&pag=$3 [L,NC] RewriteRule ^news/([^/]+)/([^/]+)$ blog_1.php?id=$1&titolo=$2 [L,NC] RewriteRule ^category-news/([^/]+)/([^/]+)/([^/]+)$ blog.php?cat=$1&titolo=$2&pag=$3 [L,NC] RewriteRule ^category-news/([^/]+)/([^/]+)$ blog.php?cat=$1&titolo=$2 [L,NC] RewriteRule ^date-news/([^/]+)/([^/]+)/([^/]+)$ blog.php?anno=$1&mese=$2&pag=$3 [L,NC] RewriteRule ^date-news/([^/]+)/([^/]+)$ blog.php?anno=$1&mese=$2 [L,NC] RewriteRule ^news/([^/]+)$ blog.php&pag=$1 [L,NC] RewriteRule ^news blog.php [L,NC] RewriteRule ^patents/([^/]+)/([^/]+)/([^/]+)$ _patents_1.php?id=$1&titolo=$2&pag=$3 [L,NC] RewriteRule ^patents/([^/]+)/([^/]+)$ _patents_1.php?id=$1&titolo=$2 [L,NC] RewriteRule ^date-patents/([^/]+)/([^/]+)/([^/]+)$ _patents.php?anno=$1&mese=$2&pag=$3 [L,NC] RewriteRule ^date-patents/([^/]+)/([^/]+)$ _patents.php?anno=$1&mese=$2 [L,NC] RewriteRule ^patents/([^/]+)$ _patents.php&pag=$1 [L,NC] RewriteRule ^patents _patents.php [L,NC] # compress text, html, javascript, css, xml: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript # Or, compress certain file types by extension: SetOutputFilter DEFLATE Header set Cache-Control "max-age=2592000, public" Header set Cache-Control "max-age=604800, public" Header set Cache-Control "max-age=3600, private" Header set Cache-Control "max-age=1800, public" # CACHE EXPIRATION # ExpiresActive On ExpiresDefault A300 ExpiresByType image/x-icon A2592000 ExpiresByType application/x-javascript A3600 ExpiresByType text/css A600 ExpiresByType image/gif A900 ExpiresByType image/png A900 ExpiresByType image/jpeg A900 ExpiresByType text/plain A300 ExpiresByType application/x-shockwave-flash A900 ExpiresByType video/x-flv A604800 ExpiresByType application/pdf A900 ExpiresByType text/html A600 # CACHE EXPIRATION # # BEGIN BLOCCO REFERRAL MALEVOLI RewriteCond %{HTTP_REFERER} ^([^.]+.)*?magnet-to-torrent.com [NC,OR] RewriteCond %{HTTP_REFERER} ^([^.]+.)*?responsive-test.net [NC,OR] RewriteCond %{HTTP_REFERER} ^([^.]+.)*?semalt.com [NC,OR] RewriteCond %{HTTP_REFERER} ^([^.]+.)*?kambasoft.com [NC,OR] RewriteCond %{HTTP_REFERER} ^([^.]+.)*?buttons-for-website.com [NC] RewriteRule ^.* – [F] # END BLOCCO REFERRAL MALEVOLI # compress text, html, javascript, css, xml: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript # Or, compress certain file types by extension: SetOutputFilter DEFLATE