Zaktualizowano pliki szablonów, dodano atrybut rel="nofollow" do linków oraz zaktualizowano rozmiary plików w konfiguracji.

This commit is contained in:
2025-03-10 15:45:21 +01:00
parent 48a2a076db
commit 63e88d23f2
12 changed files with 121 additions and 23 deletions

View File

@@ -1,3 +1,89 @@
#~~PSHOWLAZYIMG-MODULE~start~~-rewrite-webp-files
# Code automatically added by module pshowlazyimg
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.webp [L]
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.webp [L]
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]
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]
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]
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]
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]
RewriteRule ^([0-9])([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/$8/$1$2$3$4$5$6$7$8$9$10.webp [L]
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/c/$1$2$3.webp [L]
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/c/$1$2.webp [L]
</IfModule>
#~~PSHOWLAZYIMG-MODULE~end~~-rewrite-webp-files
#~~PSHOWLAZYIMG-MODULE~start~~-webp-on-the-fly
# Code automatically added by module pshowlazyimg
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^(.*)\.(jpe?g|png)$ %{ENV:REWRITEBASE}modules/pshowlazyimg/webp-on-demand.php?source=%{SCRIPT_FILENAME} [NC,L]
</IfModule>
<IfModule mod_mime.c>
AddType image/webp .webp
</IfModule>
#~~PSHOWLAZYIMG-MODULE~end~~-webp-on-the-fly
#x13webp module start
#Domain: www.interblue.pl
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
# Images
RewriteCond %{HTTP_HOST} ^www.interblue.pl$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.webp [L]
RewriteCond %{HTTP_HOST} ^www.interblue.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} ^www.interblue.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} ^www.interblue.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} ^www.interblue.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} ^www.interblue.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} ^www.interblue.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} ^www.interblue.pl$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.webp$ %{ENV:REWRITEBASE}img/c/$1$2$3.webp [L]
RewriteCond %{HTTP_HOST} ^www.interblue.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
# ~~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
# http://www.prestashop.com - http://www.prestashop.com/forums
@@ -9,6 +95,7 @@ SetEnv HTTP_MOD_REWRITE On
RewriteEngine on
#Domain: www.interblue.pl
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
@@ -107,8 +194,7 @@ FileETag none
</IfModule>
#If rewrite mod isn't enabled
# ErrorDocument 404 /index.php?controller=404
ErrorDocument 404 https://www.interblue.pl/nie-znaleziono-strony
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

View File

@@ -98,13 +98,13 @@
},
"google-merchant_id-1.xml": {
"type": "-",
"size": 18115062,
"size": 17943590,
"lmtime": 0,
"modified": true
},
".htaccess": {
"type": "-",
"size": 83923,
"size": 88569,
"lmtime": 0,
"modified": true
},
@@ -150,6 +150,12 @@
"lmtime": 0,
"modified": false
},
".htaccess_backup_20250222_155201": {
"type": "-",
"size": 86941,
"lmtime": 0,
"modified": false
},
".htaccess.bck": {
"type": "-",
"size": 77278,

View File

@@ -18,7 +18,7 @@
{$cover_src = $blog->getImgSrc('post', $post.id_post, $settings.cover_type, $post.cover)}
{if !empty($cover_src)}
<div class="post-item-cover-compact">
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}">{/if}
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}" rel="nofollow">{/if}
<img src="{$cover_src|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}">
{if !empty($settings.link_cover)}</a>{/if}
</div>
@@ -35,7 +35,7 @@
<div class="post-item-content-compact">
{$post.content|strip_tags|truncate:$settings.truncate:'...'|escape:'html':'UTF-8'}
{if !empty($settings.show_readmore)}
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore-compact">
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore-compact" rel="nofollow">
<i class="icon-angle-right"></i>
<i class="icon-angle-right second"></i>
</a>

View File

@@ -18,7 +18,7 @@
{$cover_src = $blog->getImgSrc('post', $post.id_post, $settings.cover_type, $post.cover)}
{if !empty($cover_src)}
<div class="post-item-cover">
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}">{/if}
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}" rel="nofollow">{/if}
<img src="{$cover_src|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}">
{if !empty($settings.link_cover)}</a>{/if}
</div>
@@ -69,7 +69,7 @@
{/if}
</div>
{if !empty($settings.truncate) && !empty($settings.show_readmore)}
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right">
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right" rel="nofollow">
{l s='Read more' mod='amazzingblog'}
<i class="icon-arrow-right"></i>
</a>

View File

@@ -69,7 +69,7 @@
{/if}
</div>
{if !empty($settings.show_readmore)}
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right">
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right" rel="nofollow">
{l s='Read more' mod='amazzingblog'}
<i class="icon-arrow-right"></i>
</a>

View File

@@ -18,7 +18,7 @@
{$cover_src = $blog->getImgSrc('post', $post.id_post, $settings.cover_type, $post.cover)}
{if !empty($cover_src)}
<div class="post-item-cover-compact">
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}">{/if}
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}" rel="nofollow">{/if}
<img src="{$cover_src|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}">
{if !empty($settings.link_cover)}</a>{/if}
</div>
@@ -35,7 +35,7 @@
<div class="post-item-content-compact">
{$post.content|strip_tags|truncate:$settings.truncate:'...'|escape:'html':'UTF-8'}
{if !empty($settings.show_readmore)}
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore-compact">
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore-compact" rel="nofollow">
<i class="icon-angle-right"></i>
<i class="icon-angle-right second"></i>
</a>

View File

@@ -20,7 +20,7 @@
{if !empty($cover_src)}
<div class="post-item-cover">
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}">{/if}
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}" rel="nofollow">{/if}
<img src="{$cover_src|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}">
{if !empty($settings.link_cover)}</a>{/if}
</div>
@@ -71,7 +71,7 @@
{/if}
</div>
{if !empty($settings.truncate) && !empty($settings.show_readmore)}
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right">
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right" rel="nofollow">
{l s='Read more' mod='amazzingblog'}
<i class="icon-arrow-right"></i>
</a>

View File

@@ -69,7 +69,7 @@
{/if}
</div>
{if !empty($settings.show_readmore)}
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right">
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right" rel="nofollow">
{l s='Read more' mod='amazzingblog'}
<i class="icon-arrow-right"></i>
</a>

View File

@@ -33,11 +33,17 @@
<title>{block name='head_seo_title'}{$page.meta.title}{/block}</title>
<meta name="description" content="{block name='head_seo_description'}{$page.meta.description}{/block}">
<meta name="keywords" content="{block name='head_seo_keywords'}{$page.meta.keywords}{/block}">
{if $page.meta.robots !== 'index'}
<meta name="robots" content="{$page.meta.robots}">
{assign var="excluded_pages" value=['/dane-osobiste', '/moje-konto', '/adresy', '/adres', '/historia-zamowien', '/potwierdzenie-zwrotu', '/rabaty', '/module/psgdpr/gdpr','/module/przelewy24/accountMyCards']}
{assign var="clean_uri" value=explode('?', $smarty.server.REQUEST_URI)|@reset}
{if in_array($clean_uri, $excluded_pages)}
<meta name="robots" content="noindex">
{elseif $page.meta.robots !== 'index'}
<meta name="robots" content="{$page.meta.robots}">
{/if}
{if $page.canonical}
<link rel="canonical" href="{$page.canonical}">
{assign var="canonical" value=explode('?', $page.canonical)|@reset}
<link rel="canonical" href="{$canonical}">
{/if}
{block name='head_hreflang'}
{foreach from=$urls.alternative_langs item=pageUrl key=code}

View File

@@ -27,7 +27,7 @@
<div class="thumbnail-container">
{block name='product_thumbnail'}
{if $product.cover}
<a href="{$product.url}" class="thumbnail product-thumbnail">
<a href="{$product.url}" class="thumbnail product-thumbnail" rel="nofollow">
<img
src = "{$product.cover.bySize.home_default.url}"
alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
@@ -35,7 +35,7 @@
>
</a>
{else}
<a href="{$product.url}" class="thumbnail product-thumbnail">
<a href="{$product.url}" class="thumbnail product-thumbnail" rel="nofollow">
<img
src = "{$urls.no_picture_image.bySize.home_default.url}"
>

View File

@@ -27,7 +27,7 @@
<div class="thumbnail-container">
{block name='product_thumbnail'}
{if $product.cover}
<a href="{$product.url}" class="thumbnail product-thumbnail">
<a href="{$product.url}" class="thumbnail product-thumbnail" rel="nofollow">
<img
src = "{$product.cover.bySize.home_default.url}"
alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{*$product.name|truncate:30:'...'*}{$product.category|ucfirst} - {$product.name|lower}{/if}"
@@ -37,7 +37,7 @@
>
</a>
{else}
<a href="{$product.url}" class="thumbnail product-thumbnail">
<a href="{$product.url}" class="thumbnail product-thumbnail" rel="nofollow">
<img
src = "{$urls.no_picture_image.bySize.home_default.url}"
itemprop="image"

View File

@@ -27,7 +27,7 @@
<div class="thumbnail-container">
{block name='product_thumbnail'}
{if $product.cover}
<a href="{$product.url}" class="thumbnail product-thumbnail">
<a href="{$product.url}" class="thumbnail product-thumbnail" rel="nofollow">
<img
src = "{$product.cover.bySize.home_default.url}"
alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
@@ -35,7 +35,7 @@
>
</a>
{else}
<a href="{$product.url}" class="thumbnail product-thumbnail">
<a href="{$product.url}" class="thumbnail product-thumbnail" rel="nofollow">
<img
src = "{$urls.no_picture_image.bySize.home_default.url}"
>