Files
drmaterac.pl/.htaccess

414 lines
18 KiB
ApacheConf

<RequireAll>
Require all granted
Require not ip 64.188.91.225
</RequireAll>
# ~~startcookiesplus~~ Cookies Plus module - Do not remove this comment
<IfModule LiteSpeed>
RewriteRule .* - [E=Cache-Vary:cookiesplus]
</IfModule>
# ~~endcookiesplus~~ Cookies Plus module - Do not remove this comment
RewriteEngine On
RewriteRule ^276\-materace\-90x200\-outlet$ /s/2/materace\-outlet\-90x200\-cm? [L,R=301]
RewriteRule ^277\-materace\-120x200\-outlet$ /s/3/materace\-120x200\-outlet? [L,R=301]
RewriteRule ^278\-materace\-140x200\-outlet$ /s/4/materace\-140x200\-outlet? [L,R=301]
RewriteRule ^279\-materace\-160x200\-outlet$ /s/5/materace\-160x200\-outlet? [L,R=301]
RewriteRule ^280\-materace\-180x200\-outlet$ /s/6/materace\-180x200\-outlet? [L,R=301]
RewriteRule ^281\-materace\-80x200\-outlet$ /s/7/materace\-80x200\-outlet? [L,R=301]
RewriteRule ^260\-materace\-termoelastyczne\-90x200$ /s/8/materace\-termoelastyczne\-90x200? [L,R=301]
RewriteRule ^259\-materace\-termoelastyczne\-120x200$ /s/9/materace\-termoelastyczne\-120x200? [L,R=301]
RewriteRule ^258\-materace\-termoelastyczne\-160x200$ /s/10/materace\-termoelastyczne\-160x200? [L,R=301]
RewriteRule ^261\-materace\-termoelastyczne\-180x200$ /s/11/materace\-termoelastyczne\-180x200? [L,R=301]
RewriteRule ^250\-materace\-sprezynowe\-160x200$ /s/12/materace\-sprezynowe\-160x200? [L,R=301]
RewriteRule ^251\-materace\-sprezynowe\-180x200$ /s/13/materace\-sprezynowe\-180x200? [L,R=301]
RewriteRule ^252\-materace\-sprezynowe\-200x200$ /s/14/materace\-sprezynowe\-200x200? [L,R=301]
RewriteRule ^253\-materace\-sprezynowe\-120x200$ /s/15/materace\-sprezynowe\-120x200? [L,R=301]
RewriteRule ^254\-materace\-sprezynowe\-140x200$ /s/16/materace\-sprezynowe\-140x200? [L,R=301]
RewriteRule ^255\-materace\-sprezynowe\-100x200$ /s/17/materace\-sprezynowe\-100x200? [L,R=301]
RewriteRule ^263\-materace\-sprezynowe\-80x200$ /s/18/materace\-sprezynowe\-80x200? [L,R=301]
RewriteRule ^264\-materace\-sprezynowe\-90x200$ /s/19/materace\-sprezynowe\-90x200? [L,R=301]
RewriteRule ^222\-materace\-lateksowe\-100x200$ /s/20/materace\-lateksowe\-100x200? [L,R=301]
RewriteRule ^225\-materace\-lateksowe\-160x200$ /s/21/materace\-lateksowe\-160x200? [L,R=301]
RewriteRule ^226\-materace\-lateksowe\-180x200$ /s/22/materace\-lateksowe\-180x200? [L,R=301]
RewriteRule ^227\-materace\-lateksowe\-120x200$ /s/23/materace\-lateksowe\-120x200? [L,R=301]
RewriteRule ^228\-materace\-lateksowe\-140x200$ /s/24/materace\-lateksowe\-140x200? [L,R=301]
RewriteRule ^230\-materace\-lateksowe\-90x200$ /s/25/materace\-lateksowe\-90x200? [L,R=301]
RewriteRule ^231\-materace\-lateksowe\-80x200$ /s/26/materace\-lateksowe\-80x200? [L,R=301]
RewriteRule ^233\-materace\-lateksowe\-70x140$ /s/27/materace\-lateksowe\-70x140? [L,R=301]
RewriteRule ^236\-materace\-lateksowe\-60x120$ /s/28/materace\-lateksowe\-60x120? [L,R=301]
RewriteRule ^224\-materace\-kokosowe\-160x200$ /s/29/materace\-kokosowe\-160x200? [L,R=301]
RewriteRule ^232\-materace\-nawierzchniowe\-140x200$ /s/30/materace\-nawierzchniowe\-140x200? [L,R=301]
RewriteRule ^234\-materace\-nawierzchniowe\-120x200$ /s/31/materace\-nawierzchniowe\-120x200? [L,R=301]
RewriteRule ^235\-materace\-nawierzchniowe\-160x200$ /s/32/materace\-nawierzchniowe\-160x200? [L,R=301]
RewriteRule ^249\-materace\-nawierzchniowe\-90x200$ /s/33/materace\-nawierzchniowe\-90x200? [L,R=301]
RewriteRule ^229\-materace\-dla\-dzieci\-90x200$ /s/34/materace\-dla\-dzieci\-90x200? [L,R=301]
RewriteRule ^132\-materace\-70x140$ /s/35/materace\-70x140? [L,R=301]
RewriteRule ^133\-materace\-60x120$ /s/36/materace\-60x120? [L,R=301]
RewriteRule ^148\-materace\-80x160$ /s/37/materace\-80x160? [L,R=301]
RewriteRule ^134\-materace\-80x180$ /s/38/materace\-80x180? [L,R=301]
RewriteRule ^135\-materace\-90x180$ /s/39/materace\-90x180? [L,R=301]
RewriteRule ^136\-materace\-80x190$ /s/40/materace\-80x190? [L,R=301]
RewriteRule ^137\-materace\-90x190$ /s/41/materace\-90x190? [L,R=301]
RewriteRule ^146\-materace\-70x200$ /s/42/materace\-70x200? [L,R=301]
RewriteRule ^138\-materace\-80x200$ /s/43/materace\-80x200? [L,R=301]
RewriteRule ^139\-materace\-90x200$ /s/44/materace\-90x200? [L,R=301]
RewriteRule ^140\-materace\-100x200$ /s/45/materace\-100x200? [L,R=301]
RewriteRule ^141\-materace\-120x200$ /s/46/materace\-120x200? [L,R=301]
RewriteRule ^142\-materace\-140x200$ /s/47/materace\-140x200? [L,R=301]
RewriteRule ^143\-materace\-160x200$ /s/1/materace\-160x200\-cm? [L,R=301]
RewriteRule ^145\-materace\-180x200$ /s/48/materace\-180x200? [L,R=301]
RewriteRule ^144\-materace\-200x200$ /s/49/materace\-200x200? [L,R=301]
RewriteRule ^152\-materace\-105x200$ /s/50/materace\-105x200? [L,R=301]
RewriteRule ^153\-materace\-135x200$ /s/51/materace\-135x200? [L,R=301]
RewriteRule ^154\-materace\-150x200$ /s/52/materace\-150x200? [L,R=301]
RewriteRule ^191\-materace\-piankowe\-80x200$ /s/53/materace\-piankowe\-80x200? [L,R=301]
RewriteRule ^192\-materace\-piankowe\-90x200$ /s/54/materace\-piankowe\-90x200? [L,R=301]
RewriteRule ^193\-materace\-piankowe\-100x200$ /s/55/materace\-piankowe\-100x200? [L,R=301]
RewriteRule ^194\-materace\-piankowe\-120x200$ /s/56/materace\-piankowe\-120x200? [L,R=301]
RewriteRule ^195\-materace\-piankowe\-140x200$ /s/57/materace\-piankowe\-140x200? [L,R=301]
RewriteRule ^196\-materace\-piankowe\-160x200$ /s/58/materace\-piankowe\-160x200? [L,R=301]
RewriteRule ^197\-materace\-piankowe\-180x200$ /s/59/materace\-piankowe\-180x200? [L,R=301]
RewriteRule ^198\-materace\-piankowe\-200x200$ /s/60/materace\-piankowe\-200x200? [L,R=301]
RewriteRule ^200\-materace\-lateksowe\-80x200$ /s/61/materace\-lateksowe\-80x200? [L,R=301]
RewriteRule ^201\-materace\-lateksowe\-90x200$ /s/62/materace\-lateksowe\-90x200? [L,R=301]
RewriteRule ^202\-materace\-lateksowe\-100x200$ /s/63/materace\-lateksowe\-100x200? [L,R=301]
RewriteRule ^203\-materace\-lateksowe\-120x200$ /s/64/materace\-lateksowe\-120x200? [L,R=301]
RewriteRule ^204\-materace\-lateksowe\-140x200$ /s/65/materace\-lateksowe\-140x200? [L,R=301]
RewriteRule ^205\-materace\-lateksowe\-160x200$ /s/66/materace\-lateksowe\-160x200? [L,R=301]
RewriteRule ^206\-materace\-lateksowe\-180x200$ /s/67/materace\-lateksowe\-180x200? [L,R=301]
RewriteRule ^207\-materace\-lateksowe\-200x200$ /s/68/materace\-lateksowe\-200x200? [L,R=301]
RewriteRule ^210\-materace\-dla\-dzieci\-70x140$ /s/69/materace\-dla\-dzieci\-70x140? [L,R=301]
RewriteRule ^211\-materace\-80x160$ /s/37/materace\-80x160? [L,R=301]
RewriteRule ^164\-lozka\-80x200$ /s/70/lozka\-80x200? [L,R=301]
RewriteRule ^165\-lozka\-90x200$ /s/71/lozka\-90x200? [L,R=301]
RewriteRule ^166\-lozka\-100x200$ /s/72/lozka\-100x200? [L,R=301]
RewriteRule ^167\-lozka\-120x200$ /s/73/lozka\-120x200? [L,R=301]
RewriteRule ^168\-lozka\-140x200$ /s/74/lozka\-140x200? [L,R=301]
RewriteRule ^169\-lozka\-160x200$ /s/75/lozka\-160x200? [L,R=301]
RewriteRule ^170\-lozka\-180x200$ /s/76/lozka\-180x200? [L,R=301]
RewriteRule ^171\-lozka\-200x200$ /s/77/lozka\-200x200? [L,R=301]
RewriteRule ^174\-koldry\-155x200$ /s/78/koldry\-155x200? [L,R=301]
RewriteRule ^175\-koldry\-200x220$ /s/79/koldry\-200x220? [L,R=301]
RewriteRule ^176\-koldry\-135x200$ /s/80/koldry\-135x200? [L,R=301]
RewriteRule ^220\-koldry\-150x220$ /s/81/koldry\-150x220? [L,R=301]
RewriteRule ^179\-poduszki\-40x90\-cm$ /s/82/poduszki\-40x90\-cm? [L,R=301]
RewriteRule ^180\-poduszki\-50x70\-cm$ /s/83/poduszki\-50x70\-cm? [L,R=301]
RewriteRule ^181\-poduszki\-40x70\-cm$ /s/84/poduszki\-40x70\-cm? [L,R=301]
RewriteRule ^182\-poduszki\-70x80\-cm$ /s/85/poduszki\-70x80\-cm? [L,R=301]
RewriteRule ^183\-poduszki\-40x80\-cm$ /s/86/poduszki\-40x80\-cm? [L,R=301]
RewriteRule ^184\-poduszki\-40x75\-cm$ /s/87/poduszki\-40x75\-cm? [L,R=301]
RewriteRule ^185\-poduszki\-40x60\-cm$ /s/88/poduszki\-40x60\-cm? [L,R=301]
RewriteRule ^187\-posciel\-155x200$ /s/89/posciel\-155x200? [L,R=301]
RewriteRule ^188\-posciel\-135x200$ /s/90/posciel\-135x200? [L,R=301]
RewriteRule ^189\-posciel\-200x220$ /s/91/posciel\-200x220? [L,R=301]
RewriteRule ^content/168\-dr\-materac\-tarnobrzeg$ /content/152\-dr\-materac\-tarnobrzeg? [L,R=301]
#x13webp module start
#Domain: drmaterac.pl
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
# Images
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.webp [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.webp [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.webp [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.webp [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.webp [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.webp [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.webp [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/c/$1$2$3.webp [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/c/$1$2.webp [L]
# AlphaImageLoader for IE and fancybox
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
#Domain: lulandia.pl
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
# Images
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.webp [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.webp [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.webp [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.webp [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.webp [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.webp [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.webp [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/c/$1$2$3.webp [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/c/$1$2.webp [L]
# AlphaImageLoader for IE and fancybox
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
#x13webp redirections start
<IfModule mod_setenvif.c>
SetEnvIf Request_URI "\.(jpe?g|png)$" REQUEST_image
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_FILENAME} (.*)\.(jpe?g|png)$
RewriteCond %1\.webp -f
RewriteRule (.+)\.(jpe?g|png)$ $1.webp [T=image/webp,E=accept:1]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{DOCUMENT_ROOT}/$1.webp -f
RewriteRule (.+)\.(jpe?g|png)$ $1.webp [T=image/webp]
</IfModule>
<IfModule mod_headers.c>
Header append Vary Accept env=REDIRECT_accept
</IfModule>
<IfModule mod_mime.c>
AddType image/webp .webp
</IfModule>
#x13webp redirections end
#x13webp module end
SecRuleEngine Off
<IfModule mod_rewrite.c>
RewriteEngine On
# Uniwersalne przekierowanie starych adresów z /pl/ na wersję bez /pl/
RewriteCond %{REQUEST_URI} ^/pl/ [NC]
RewriteRule ^pl/(.*)$ /$1 [L,R=301,L]
</IfModule>
# ~~startcookiesplus~~ Cookies Plus module - Do not remove this comment
# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# https://www.prestashop.com - https://www.prestashop.com/forums
<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule . - [E=HTTP_AUTHORIZATION:%1]
#Domain: drmaterac.pl
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
RewriteRule ^upload/.+$ %{ENV:REWRITEBASE}index.php [QSA,L]
# Images
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^drmaterac.pl$
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
# AlphaImageLoader for IE and fancybox
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
#Domain: lulandia.pl
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
RewriteRule ^upload/.+$ %{ENV:REWRITEBASE}index.php [QSA,L]
# Images
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^lulandia.pl$
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
# AlphaImageLoader for IE and fancybox
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
</IfModule>
AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/font-woff .woff
AddType font/woff2 .woff2
<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
<FilesMatch "\.pdf$">
Header set Content-Disposition "Attachment"
Header set X-Content-Type-Options "nosniff"
</FilesMatch>
</IfModule>
<Files composer.lock>
# Apache 2.2
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</Files>
#If rewrite mod isn't enabled
ErrorDocument 404 /index.php?controller=404
# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
<IfModule mod_headers.c>
Header always set Content-Security-Policy-Report-Only "default-src * 'unsafe-inline' 'unsafe-eval'; style-src 'unsafe-inline'; script-src 'none' 'report-sample'; connect-src 'none'; form-action 'none'; frame-src 'none'; worker-src 'none'; frame-ancestors 'none'; upgrade-insecure-requests; block-all-mixed-content; report-uri https://csp.threatview.app/report; report-to threatview"
Header always set Reporting-Endpoints "threatview=\"https://csp.threatview.app/report\""
</IfModule>
Redirect 301 /327-posciel-160x200 https://drmaterac.pl/60-koldry/s-1/rozmiar-160x200_cm/rodzaj-koldry