RewriteEngine On RewriteBase / Options +FollowSymlinks Options -Indexes RewriteCond %{REQUEST_METHOD} ^(GET|HEAD)$ RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_METHOD} ^(GET|HEAD)$ RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_METHOD} ^(GET|HEAD)$ RewriteCond %{REQUEST_URI} !^/admin(/|$) [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !/$ RewriteRule ^(.+)$ https://%{HTTP_HOST}/$1/ [L,R=301] ErrorDocument 404 /404.html RewriteCond %{REQUEST_URI} !^(.*)/libraries/(.*) [NC] RewriteCond %{REQUEST_URI} !^(.*)/css/(.*) [NC] RewriteRule ^admin/([^/]*)/([^/]*)/(.*)$ admin/index.php?module=$1&action=$2&$3 [L] RewriteRule ^admin/$ admin/index.php [L] RewriteRule ^wyszukiwarka(|/)$ index.php?search=true&lang=pl [L] RewriteRule ^wersja-tymczasowa(|/)$ index.php?devel=true&lang=pl [L] RewriteRule ^pixieset/(.*)$ index.php?module=articles&action=image&hash=$1 [L] RewriteRule ^pixieset-wszystkie/(.*)$ index.php?module=articles&action=images_download&hash=$1 [L] RewriteRule ^audyt-seo/wynik(|/)$ index.php?module=auditSEO&action=main_view&%{QUERY_STRING} [L] RewriteCond %{REQUEST_URI} ^/auditSEO/(.*) [NC] RewriteRule ^([^/]*)/([^/]*)/(.*)$ index.php?module=$1&action=$2&$3 [L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.php RewriteRule ^ /%1 [R=301,L] AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript ExpiresActive on ExpiresDefault "access plus 1 year" ExpiresByType text/css "access plus 1 year" ExpiresByType application/json "access plus 0 seconds" ExpiresByType application/xml "access plus 0 seconds" ExpiresByType text/xml "access plus 0 seconds" ExpiresByType image/x-icon "access plus 1 week" ExpiresByType text/x-component "access plus 1 year" ExpiresByType text/html "access plus 0 seconds" ExpiresByType application/javascript "access plus 1 year" ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds" ExpiresByType text/cache-manifest "access plus 0 seconds" ExpiresByType audio/ogg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/webp "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType video/mp4 "access plus 1 year" ExpiresByType video/ogg "access plus 1 year" ExpiresByType video/webm "access plus 1 year" ExpiresByType application/atom+xml "access plus 1 hour" ExpiresByType application/rss+xml "access plus 1 hour" ExpiresByType application/font-woff "access plus 1 year" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType font/opentype "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" Order Deny,Allow Deny from all Order Deny,Allow Deny from all Order Deny,Allow Deny from all RewriteRule ^pl/$ index.php?a=change_language&id=pl [L] RewriteRule ^$ index.php?a=page&id=2&lang=pl&%{QUERY_STRING} [L] RewriteCond %{REQUEST_URI} ^/home(|/)$ RewriteRule ^(.*)$ https://it.vidok.com/ [R=301,L] RewriteCond %{REQUEST_URI} ^/home/s/1$ RewriteRule ^(.*)$ https://it.vidok.com/ [R=301,L] RewriteCond %{REQUEST_URI} "^/$" RewriteRule ^$ index.php?a=page&id=2&lang=pl [L] RewriteRule ^home(|/)$ index.php?a=page&id=2&lang=pl&%{QUERY_STRING} [L] RewriteRule ^home/s/1(|/)$ home [R=301,L] RewriteRule ^home/s/([0-9]+)(|/)$ index.php?a=page&id=2&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^informativa-sulla-privacy(|/)$ index.php?a=page&id=17&lang=pl&%{QUERY_STRING} [L] RewriteRule ^informativa-sulla-privacy/s/1(|/)$ informativa-sulla-privacy [R=301,L] RewriteRule ^informativa-sulla-privacy/s/([0-9]+)(|/)$ index.php?a=page&id=17&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^colori-pvc(|/)$ index.php?a=page&id=11&lang=pl&%{QUERY_STRING} [L] RewriteRule ^colori-pvc/s/1(|/)$ colori-pvc [R=301,L] RewriteRule ^colori-pvc/s/([0-9]+)(|/)$ index.php?a=page&id=11&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^s-1-finestre(|/)$ index.php?a=page&id=1&lang=pl&%{QUERY_STRING} [L] RewriteRule ^s-1-finestre/s/1(|/)$ s-1-finestre [R=301,L] RewriteRule ^s-1-finestre/s/([0-9]+)(|/)$ index.php?a=page&id=1&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^colori-legno(|/)$ index.php?a=page&id=12&lang=pl&%{QUERY_STRING} [L] RewriteRule ^colori-legno/s/1(|/)$ colori-legno [R=301,L] RewriteRule ^colori-legno/s/([0-9]+)(|/)$ index.php?a=page&id=12&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^legno(|/)$ index.php?a=page&id=8&lang=pl&%{QUERY_STRING} [L] RewriteRule ^legno/s/1(|/)$ legno [R=301,L] RewriteRule ^legno/s/([0-9]+)(|/)$ index.php?a=page&id=8&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^dettagli-pvc(|/)$ index.php?a=page&id=13&lang=pl&%{QUERY_STRING} [L] RewriteRule ^dettagli-pvc/s/1(|/)$ dettagli-pvc [R=301,L] RewriteRule ^dettagli-pvc/s/([0-9]+)(|/)$ index.php?a=page&id=13&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^pvc(|/)$ index.php?a=page&id=9&lang=pl&%{QUERY_STRING} [L] RewriteRule ^pvc/s/1(|/)$ pvc [R=301,L] RewriteRule ^pvc/s/([0-9]+)(|/)$ index.php?a=page&id=9&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^dettagli-legno(|/)$ index.php?a=page&id=14&lang=pl&%{QUERY_STRING} [L] RewriteRule ^dettagli-legno/s/1(|/)$ dettagli-legno [R=301,L] RewriteRule ^dettagli-legno/s/([0-9]+)(|/)$ index.php?a=page&id=14&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^legno-alluminio(|/)$ index.php?a=page&id=10&lang=pl&%{QUERY_STRING} [L] RewriteRule ^legno-alluminio/s/1(|/)$ legno-alluminio [R=301,L] RewriteRule ^legno-alluminio/s/([0-9]+)(|/)$ index.php?a=page&id=10&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^katalog(|/)$ index.php?a=page&id=15&lang=pl&%{QUERY_STRING} [L] RewriteRule ^katalog/s/1(|/)$ katalog [R=301,L] RewriteRule ^katalog/s/([0-9]+)(|/)$ index.php?a=page&id=15&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^alluminio(|/)$ index.php?a=page&id=33&lang=pl&%{QUERY_STRING} [L] RewriteRule ^alluminio/s/1(|/)$ alluminio [R=301,L] RewriteRule ^alluminio/s/([0-9]+)(|/)$ index.php?a=page&id=33&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^porte(|/)$ index.php?a=page&id=3&lang=pl&%{QUERY_STRING} [L] RewriteRule ^porte/s/1(|/)$ porte [R=301,L] RewriteRule ^porte/s/([0-9]+)(|/)$ index.php?a=page&id=3&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^sistemi-scorrevoli(|/)$ index.php?a=page&id=4&lang=pl&%{QUERY_STRING} [L] RewriteRule ^sistemi-scorrevoli/s/1(|/)$ sistemi-scorrevoli [R=301,L] RewriteRule ^sistemi-scorrevoli/s/([0-9]+)(|/)$ index.php?a=page&id=4&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^persiane(|/)$ index.php?a=page&id=5&lang=pl&%{QUERY_STRING} [L] RewriteRule ^persiane/s/1(|/)$ persiane [R=301,L] RewriteRule ^persiane/s/([0-9]+)(|/)$ index.php?a=page&id=5&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^persiane-in-legno(|/)$ index.php?a=page&id=21&lang=pl&%{QUERY_STRING} [L] RewriteRule ^persiane-in-legno/s/1(|/)$ persiane-in-legno [R=301,L] RewriteRule ^persiane-in-legno/s/([0-9]+)(|/)$ index.php?a=page&id=21&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^persiane-in-alluminio(|/)$ index.php?a=page&id=23&lang=pl&%{QUERY_STRING} [L] RewriteRule ^persiane-in-alluminio/s/1(|/)$ persiane-in-alluminio [R=301,L] RewriteRule ^persiane-in-alluminio/s/([0-9]+)(|/)$ index.php?a=page&id=23&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^s-20-tapparelle(|/)$ index.php?a=page&id=20&lang=pl&%{QUERY_STRING} [L] RewriteRule ^s-20-tapparelle/s/1(|/)$ s-20-tapparelle [R=301,L] RewriteRule ^s-20-tapparelle/s/([0-9]+)(|/)$ index.php?a=page&id=20&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^tapparelle(|/)$ index.php?a=page&id=6&lang=pl&%{QUERY_STRING} [L] RewriteRule ^tapparelle/s/1(|/)$ tapparelle [R=301,L] RewriteRule ^tapparelle/s/([0-9]+)(|/)$ index.php?a=page&id=6&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^cassonetto(|/)$ index.php?a=page&id=19&lang=pl&%{QUERY_STRING} [L] RewriteRule ^cassonetto/s/1(|/)$ cassonetto [R=301,L] RewriteRule ^cassonetto/s/([0-9]+)(|/)$ index.php?a=page&id=19&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^persiane-in-alluminio-dev(|/)$ index.php?a=page&id=22&lang=pl&%{QUERY_STRING} [L] RewriteRule ^persiane-in-alluminio-dev/s/1(|/)$ persiane-in-alluminio-dev [R=301,L] RewriteRule ^persiane-in-alluminio-dev/s/([0-9]+)(|/)$ index.php?a=page&id=22&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^black-week(|/)$ index.php?a=page&id=24&lang=pl&%{QUERY_STRING} [L] RewriteRule ^black-week/s/1(|/)$ black-week [R=301,L] RewriteRule ^black-week/s/([0-9]+)(|/)$ index.php?a=page&id=24&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^promozione-invernale(|/)$ index.php?a=page&id=25&lang=pl&%{QUERY_STRING} [L] RewriteRule ^promozione-invernale/s/1(|/)$ promozione-invernale [R=301,L] RewriteRule ^promozione-invernale/s/([0-9]+)(|/)$ index.php?a=page&id=25&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^cataloghi-e-brochure(|/)$ index.php?a=page&id=29&lang=pl&%{QUERY_STRING} [L] RewriteRule ^cataloghi-e-brochure/s/1(|/)$ cataloghi-e-brochure [R=301,L] RewriteRule ^cataloghi-e-brochure/s/([0-9]+)(|/)$ index.php?a=page&id=29&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^dev(|/)$ index.php?a=page&id=26&lang=pl&%{QUERY_STRING} [L] RewriteRule ^dev/s/1(|/)$ dev [R=301,L] RewriteRule ^dev/s/([0-9]+)(|/)$ index.php?a=page&id=26&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^documenti(|/)$ index.php?a=page&id=30&lang=pl&%{QUERY_STRING} [L] RewriteRule ^documenti/s/1(|/)$ documenti [R=301,L] RewriteRule ^documenti/s/([0-9]+)(|/)$ index.php?a=page&id=30&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^vetratura(|/)$ index.php?a=page&id=27&lang=pl&%{QUERY_STRING} [L] RewriteRule ^vetratura/s/1(|/)$ vetratura [R=301,L] RewriteRule ^vetratura/s/([0-9]+)(|/)$ index.php?a=page&id=27&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^dev-page(|/)$ index.php?a=page&id=31&lang=pl&%{QUERY_STRING} [L] RewriteRule ^dev-page/s/1(|/)$ dev-page [R=301,L] RewriteRule ^dev-page/s/([0-9]+)(|/)$ index.php?a=page&id=31&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^promozione(|/)$ index.php?a=page&id=32&lang=pl&%{QUERY_STRING} [L] RewriteRule ^promozione/s/1(|/)$ promozione [R=301,L] RewriteRule ^promozione/s/([0-9]+)(|/)$ index.php?a=page&id=32&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^colori-alluminio(|/)$ index.php?a=page&id=34&lang=pl&%{QUERY_STRING} [L] RewriteRule ^colori-alluminio/s/1(|/)$ colori-alluminio [R=301,L] RewriteRule ^colori-alluminio/s/([0-9]+)(|/)$ index.php?a=page&id=34&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^scorrevoli-pvc(|/)$ index.php?a=page&id=35&lang=pl&%{QUERY_STRING} [L] RewriteRule ^scorrevoli-pvc/s/1(|/)$ scorrevoli-pvc [R=301,L] RewriteRule ^scorrevoli-pvc/s/([0-9]+)(|/)$ index.php?a=page&id=35&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^scorrevoli-alluminio(|/)$ index.php?a=page&id=36&lang=pl&%{QUERY_STRING} [L] RewriteRule ^scorrevoli-alluminio/s/1(|/)$ scorrevoli-alluminio [R=301,L] RewriteRule ^scorrevoli-alluminio/s/([0-9]+)(|/)$ index.php?a=page&id=36&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^a-2-gamma-cromatica(|/)$ index.php?article=2&lang=pl&%{QUERY_STRING} [L] RewriteRule ^a-3-finestre-finestre-pvc(|/)$ index.php?article=3&lang=pl&%{QUERY_STRING} [L] RewriteRule ^a-4-finestre-finestre-legno(|/)$ index.php?article=4&lang=pl&%{QUERY_STRING} [L] RewriteRule ^a-5-finestre-legno-alluminio(|/)$ index.php?article=5&lang=pl&%{QUERY_STRING} [L] RewriteRule ^a-6-sistemi-scorrevoli(|/)$ index.php?article=6&lang=pl&%{QUERY_STRING} [L] RewriteRule ^dettagli-pvc-1(|/)$ index.php?article=7&lang=pl&%{QUERY_STRING} [L] RewriteRule ^a-8-dettagli-legno(|/)$ index.php?article=8&lang=pl&%{QUERY_STRING} [L] RewriteRule ^a-9-katalog(|/)$ index.php?article=9&lang=pl&%{QUERY_STRING} [L] RewriteRule ^a-10-informativa-sulla-privacy(|/)$ index.php?article=10&lang=pl&%{QUERY_STRING} [L] RewriteRule ^da-scaricare(|/)$ index.php?article=11&lang=pl&%{QUERY_STRING} [L] RewriteRule ^a-13-finestre-alluminio(|/)$ index.php?article=13&lang=pl&%{QUERY_STRING} [L] RewriteRule ^Dascaricare/CGV(|/)$ CONDIZIONI-GENERALI-DI-VENTDA-(CGV).pdf [L] RewriteRule ^oferty-pracy(|/)$ index.php?module=globelusAdverts&action=adverts_list&cp=1&%{QUERY_STRING} [L] RewriteRule ^newsletter/signin$ index.php?module=newsletter&action=signin [L] RewriteRule ^newsletter/confirm/hash=(.*)$ index.php?module=newsletter&action=confirm&hash=$1 [L] RewriteRule ^newsletter/unsubscribe/hash=(.*)$ index.php?module=newsletter&action=unsubscribe&hash=$1 [L]