From e9088d108c776966a41ac8bfba535ced81292efe Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Tue, 14 Jun 2016 18:13:45 +0300 Subject: [PATCH] 14.06.16 --- .htaccess | 4 ++-- frontend/views/catalog/products.php | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.htaccess b/.htaccess index b1e24c0..ba9c93a 100644 --- a/.htaccess +++ b/.htaccess @@ -80,8 +80,8 @@ AddDefaultCharset utf-8 RewriteCond %{HTTP_HOST} ^([^www].*)$ RewriteRule (.*) http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] - RewriteCond %{THE_REQUEST} (\/[\w\/-]+\w)\s - RewriteRule (.*) %1/ [R,L] + RewriteCond %{THE_REQUEST} \s/+(.+?)/+[?\s] + RewriteRule /$ /%1 [R,L] diff --git a/frontend/views/catalog/products.php b/frontend/views/catalog/products.php index 3438a67..16a1511 100755 --- a/frontend/views/catalog/products.php +++ b/frontend/views/catalog/products.php @@ -69,13 +69,6 @@ $this->registerJsFile(Yii::getAlias('@web/js/ion.rangeSlider.js'),[
-
-
- 'seo_text'])?> -
- Читать полностью -
-