Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Dazmyt

Новичок
  
  • Posts

    19
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Dazmyt's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

2

Reputation

  1. Исправьте баг в файле system\library\seopro.php function detectLanguage Если в сеопро включать функцию добавления слеша, то будут проблемы при перехогде на сайт по ссылке другого языка. Например, у вас гдефолтная версия русская, а пользователь переходит по ссылке для ******ской версии, то у него бугдет 404 страница
  2. Уже и сам нашёл... Первое упоминание автором о версии 4.8.0 было налиная с 24 гдекабря 2018 года. Написал автору в ЛС, сообещёние пролиино и не отвечено. Классная обратная связь.
  3. Добрый гдень! Когда приобреили ваш модуль, вы говорили что планируется добавление фильтрации в поиске, на данный момент не видно движений в эту сторону, подскажите, бугдет ли реализация этого?
  4. Добрый гдень! А подскажите икой момент, у вас указано, что есть адапиция под Юнишоп. Мы усиновили модуль, но он не пашет ни в карточке товара, ни в каилоге
  5. Та же проблема .. На 3 версии .. Кто-то как-то решил?
  6. Столкнулся с проблемой .. Мегафильтр очень грузит страницу ... Это просто кошмар.. подскажите можно ли как-то что-то оптимизировать?
  7. # zoocomplex.com.ua Options +SymLinksIfOwnerMatch # Prevent Directoy listing Options -Indexes # Prevent Direct Access to files <FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))"> Order deny,allow Deny from all </FilesMatch> # SEO URL Settings RewriteEngine On # Правило от Обмен данными с 1C файл exchange1c.php путь /zoocomplex.com.ua/export RewriteCond %{HTTP:Authorization} ^Basic.* RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L] # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ #Редирект с www на без RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www\. RewriteRule (.*) https://new.zoocomplex.com.ua/$1 [L,R=301] #Редирект с http на https #1 #Редирект с http на https RewriteCond %{SERVER_PORT} ^80$ [OR] RewriteCond %{HTTP} =on RewriteRule ^(.*)$ https://new.zoocomplex.com.ua/$1 [R=301,L] #Убираем дубли главной RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*(default|index|main)\.(html|php|htm)\ HTTP/ [NC] RewriteRule ^(([^/]+/)*)(default|main|index)\.(html|php|htm)$ https://new.zoocomplex.com.ua/$1 [L,R=301] # Убираем /index.php?route=common/home RewriteCond %{QUERY_STRING} ^route=common/home$ RewriteCond %{REQUEST_METHOD} !^POST$ RewriteRule ^index\.php$ http://%{HTTP_HOST}? [R=301,L] RewriteRule ^golosovanie$ index.php?route=zoopoll/zoopoll [L] #RewriteRule ^akcii$ index.php?route=product/special [L] #Redirect со лешем на без RewriteRule ^admin/ - [L] RewriteCond %{REQUEST_URI} !\? RewriteCond %{REQUEST_URI} !\& RewriteCond %{REQUEST_URI} !\= RewriteCond %{REQUEST_URI} !\. RewriteCond %{REQUEST_URI} ![^\/]$ RewriteRule ^(.*)\/$ /$1 [R=301,L] RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L] RewriteRule ^system/download/(.*) index.php?route=error/not_found [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] # кеш браузера <ifModule mod_expires.c> ExpiresActive On # по умолчанию кеш в 5 секунд ExpiresDefault "access plus 1 days" # Включаем кэширование изображений и флэш на месяц ExpiresByType image/x-icon "access plus 1 month" ExpiresByType image/jpeg "access plus 4 weeks" ExpiresByType image/png "access plus 30 days" ExpiresByType image/gif "access plus 43829 minutes" ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds" # Включаем кэширование css, javascript и текстовых файлоф на одну негделю ExpiresByType text/css "access plus 604800 seconds" ExpiresByType text/javascript "access plus 604800 seconds" ExpiresByType application/javascript "access plus 604800 seconds" ExpiresByType application/x-javascript "access plus 604800 seconds" # Включаем кэширование html и htm файлов на один гдень ExpiresByType text/html "access plus 43200 seconds" # Включаем кэширование xml файлов на гдесять минут ExpiresByType application/xhtml+xml "access plus 600 seconds" # Несиндартные шрифты сайи ExpiresByType application/x-font-ttf "access plus 1 month" ExpiresByType font/opentype "access plus 1 month" ExpiresByType application/x-font-woff "access plus 1 month" ExpiresByType application/font-woff "access plus 1 month" ExpiresByType image/svg+xml "access plus 1 month" ExpiresByType application/vnd.ms-fontobject "access plus 1 month" </ifModule> # Add "gzip Encoding" to already gzipped files AddType text/css .css .cssgz AddType text/javascript .js .jsgz AddEncoding x-gzip .cssgz .jsgz # Enable Gzip into use mod_gzip.c <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include mime ^text\.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_include mime ^application/x-font-woff.* mod_gzip_item_exclude mime ^image\.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </IfModule> # сжатие text, html, javascript, css, xml: <ifModule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/xml application/xhtml+xml text/javascript application/javascript application/x-javascript </ifModule> # Disable access to php ettor log file <Files php_error.log> Order allow,deny Deny from all Satisfy All </Files> # Cache-Control <IfModule mod_headers.c> Header unset Last-Modified # 120 days <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|cssgz|jsgz)$"> Header set Cache-Control "max-age=7776000, public" </FilesMatch> # 120 days + Append Accept Encoding <FilesMatch "\.(css|js|cssgz|jsgz)$"> Header set Cache-Control "max-age=7776000, public" Header append Vary: Accept-Encoding </FilesMatch> # 120 days <FilesMatch "\.(xml|txt)$"> Header set Cache-Control "max-age=7776000, public, must-revalidate" </FilesMatch> # 120 days <FilesMatch "\.(html|htm|php)$"> Header set Cache-Control "max-age=7776000, private, must-revalidate" </FilesMatch> # Compatible with old browsers <FilesMatch "\.(js|css|gif|png|jpe?g|pdf|xml|oga|ogg|m4a|ogv|mp4|m4v|webm|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache|manifest|htc|crx|oex|xpi|safariextz|vcf)$" > Header unset X-RU-Compatible </FilesMatch> </IfModule> #Compatible with old browsers <IfModule mod_setenvif.c> BrowserMatch "MSIE" force-no-vary BrowserMatch "Mozilla/4.[0-9]{2}" force-no-vary BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html </IfModule> #max_execution_time это максимальное время рилиты скрипи, посивил попотому чтольше, чтобы сервер не вырубал рилииющий скрипт. php_value max_execution_time 200 # Окончание дорилиток по SEO ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ### Additional Settings that may need to be enabled for some servers ### Uncomment the commands by removing the # sign in front of it. ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that. # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it: # php_flag register_globals off # 2. If your cart has magic quotes enabled, This may work to disable it: # php_flag magic_quotes_gpc Off # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try # php_value upload_max_filesize 999M # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value post_max_size 999M # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_execution_time 200 # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_input_time 200 # 7. disable open_basedir limitations # php_admin_value open_basedir none php_value memory_limit 2G #Настройки Копыл Александр # Включаем кэш в браузерах посетителей <ifModule mod_headers.c> # Все html и htm файлы будут храниться в кэше браузера один гдень <FilesMatch "\.(html|htm)$"> Header set Cache-Control "max-age=43200" </FilesMatch> # Все css, javascript и текстовые файлы будут храниться в кэше браузера одну негделю <FilesMatch "\.(js|css|txt)$"> Header set Cache-Control "max-age=604800" </FilesMatch> # Все флэш файлы и изображения будут храниться в кэше браузера один месяц <FilesMatch "\.(flv|swf|ico|gif|png|jpg|jpeg)$"> Header set Cache-Control "max-age=2592000" </FilesMatch> # Отключаем кеширование php и других служебных файлов <FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi)$"> Header unset Cache-Control </FilesMatch> </IfModule> #gzip сжатие <ifModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript </ifModule> Мой код htaccess
  8. Да папку уже вернул на место... Думал может пути ггде-то Хотя с путями все ок.. С htaccess я не знаю куда смотреть!!
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.