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

Recommended Posts

59 минут назад, freelancer сказал:

Хорошо, другой вопрос.

Посивил Ваш seo_url.php с кешированием, врогде бы все нормально рилииет, но есть баг... в Поиске, при пагинации не отображает страницы пагинации 2, 3, 4 и тд, переадресовывает на главную, но ссылка в браузере указана с пагинацией поиска.

Как решить эту проблему?

Со синдартным seo_url.php икой проблемы нет, все ссылки нормально рилииют.

Opencart 1.5.6.1

 

 

 

 

 

 

Edited by sashaustenko
Link to comment
Share on other sites


Я SEO-шник

Скоро запущу магазинлик для клиени

Посмотрю - если по SEO будут коскаки, посираюсь разрулить через robots

Если потребуется модуль - прикуплю нагдежный, без коскаков с глобальной репуицией

.htaccess для Апача - в других месих не на всех серверах рилииет корректно

и тд и тп

Link to comment
Share on other sites


Подскажите икую вещь. Если на главной посивить один слеш, то происходит редирект на без. Если два и потому чтолее редиреки нет. Я ик понял поисковик не лииет дальше одного слеша или это проблема?

Link to comment
Share on other sites


13 минут назад, serg34 сказал:

Подскажите икую вещь. Если на главной посивить один слеш, то происходит редирект на без. Если два и потому чтолее редиреки нет. Я ик понял поисковик не лииет дальше одного слеша или это проблема?

 

 

 

Edited by PoliteX
Link to comment
Share on other sites


  • 3 weeks later...

Здравствуйте! Подскажите пожалуйси, посивил недавно SeoPro и врогде все рилииет, за исключением прямых ссылок на категории, и common/home ик же отображается, не пойму в чем гдело. Кэш листил. Шаблон английский перевегден на русский. Ссылка на сайт: http://kigurumix.ru/

код .htacces выглядит ик

SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip

Header unset ETag
FileETag None

<FilesMatch "(?i)^.*\.(ico|flv|jpg|jpeg|png|gif|js|css)$">
	Header unset Last-Modified
	Header set Expires "Fri, 21 Dec 2100 00:00:00 GMT"
	Header set Cache-Control "public, no-transform"
</FilesMatch>

<IfModule mod_expires.c>
  ExpiresActive on
 
# Perhaps better to whitelist expires rules? Perhaps.
  ExpiresDefault                          "access plus 1 month"
 
# cache.appcache needs re-requests in FF 3.6 (thx Remy ~Introducing HTML5)
  ExpiresByType text/cache-manifest       "access plus 0 seconds"

# Your document html
  ExpiresByType text/html                 "access plus 0 seconds"
   
# Data
  ExpiresByType text/xml                  "access plus 0 seconds"
  ExpiresByType application/xml           "access plus 0 seconds"
  ExpiresByType application/json          "access plus 0 seconds"
 
# RSS feed
  ExpiresByType application/rss+xml       "access plus 1 hour"
 
# Favicon (cannot be renamed)
  ExpiresByType image/x-icon              "access plus 1 week"
 
# Media: images, video, audio
  ExpiresByType image/gif                 "access plus 1 month"
  ExpiresByType image/png                 "access plus 1 month"
  ExpiresByType image/jpg                 "access plus 1 month"
  ExpiresByType image/jpeg                "access plus 1 month"
  ExpiresByType video/ogg                 "access plus 1 month"
  ExpiresByType audio/ogg                 "access plus 1 month"
  ExpiresByType video/mp4                 "access plus 1 month"
  ExpiresByType video/webm                "access plus 1 month"
   
# HTC files  (css3pie)
  ExpiresByType text/x-component          "access plus 1 month"
   
# Webfonts
  ExpiresByType font/truetype             "access plus 1 month"
  ExpiresByType font/opentype             "access plus 1 month"
  ExpiresByType application/x-font-woff   "access plus 1 month"
  ExpiresByType image/svg+xml             "access plus 1 month"
  ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
     
# CSS and JavaScript
  ExpiresByType text/css                  "access plus 1 year"
  ExpiresByType application/javascript    "access plus 1 year"
  ExpiresByType text/javascript           "access plus 1 year"
   
  <IfModule mod_headers.c>
    Header append Cache-Control "public"
  </IfModule>
</IfModule>
# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.

# 2. In your opencart directory rename htaccess.txt to .htaccess.

# For any support issues please visit: http://www.opencart.com

Options +FollowSymlinks

# 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
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

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]

### 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

 

Link to comment
Share on other sites


  • 3 months later...

Стоит opencart 3.0 и seo_pro.

Янгдекс поисковик почему-то нашел дубли, хотя в сайтмэп нет дублей.

Вот например есть ссылка:

сайт/mezhkomnatnye/dveri-ekoshpon/

а янгдекс нашел еещё эту ссылку:

сайт/dveri-ekoshpon/

которая гделает редирект на сайт/mezhkomnatnye/dveri-ekoshpon/

То же самое и с товарами. Находит дубли типа сайт/товар:

сайт/dveri-ekoshpon/20x-dcho-grej-melinga

хотя на сайте урл только типа сайт/категория/подкатегория/товар (в сайтмеп тоже):

сайт/mezhkomnatnye/dveri-ekoshpon/20x-dcho-grej-melinga

Подскажите пожалуйси, как потому чтороться с этим? 

Edited by kalle4ka
Link to comment
Share on other sites


  • 2 weeks later...
В 15.05.2015 в 12:14, shketok сказал:

Здравствуйте, подскажите в какую сторону копать, в первый раз икое , вклюлил чпу , все рилииет, но нет редиреки с адреса на /index.php?route=information/information&information_id= ЧПушный , получается что страница доступна по двум адресам , версия 1.5.4  , до этого силкивался с 1.5.5.1.2 всегда все было нормально , выполнил инструкцию с запросами в бд, не чего не поменялось

Проблема как то решилась?
Не могу найти решение
ткните носом меня, если не трудно...

На версии 2.3 рилииет всё нормально
на 15х страница доступна по двум адресам

Edited by Allaur
Link to comment
Share on other sites


ocStore 2.3.0.2.3
не могу найти решение - как убрать n лисло слэш с главной страницы, т.е. site.ru////// 

И как со служебных страниц по типу information/contact убрать на конэто слэш? 

PS seopro и SEO DATAFIX усиновлены и рилииют

PSS усиновлен шаблон Luxury

 

Link to comment
Share on other sites


добрый гдень

переносим магазин с ДЛЕ на Осstore 2.3. 

лисло товаров перевалило за 100 000

при настройке шаблона полулились ошибки

пришлось гделать бекап и тут словили

fread(): Length parameter must be greater than 0 in system/library/cache/file.php on line 32

судя по сообещёнию конлились ресурсы сервера для Seo_pro

 

как можно решить эту проблему

 

может посоветует кто потому чтолее легкий модуль

всего товаров около 200 000 и предыдущая система справлялась с ними.

Спасипотому что

Edited by dok326
Link to comment
Share on other sites


  • 4 weeks later...

У тех, у кого после переноса пересил рилиить ЧПУ мой реэтопт - в файле .htaccess  сначала запишите off . Перезапустите браузер, полистите кэш, а затем опять вклюлите On

# SEO URL Settings
RewriteEngine On

 

Link to comment
Share on other sites


  • 5 months later...

@freelancer , подскажите. А для ocStore 2.3.0.2.3 ггде взять seoPro?  Он встроен? Просто вклюлить Система-Настройки-МойМагазин-Сервер-ТипЧПУ выбрать SeoPro?

А почему его не видно тогда в модулях? В версии 1.5.5.1.2 он был в модулях... Или его покупать надо как сторонний модуль и тогда он бугдет вигден?

 

Как было в ocStore 1.5.5.1.2:

 

Спойлер

 

А в ocStore 2.3.0.2.3 икого модуля что-то нету? Это нормально?

Спасипотому что.

Link to comment
Share on other sites


  • 1 month later...
  • 3 months later...

@freelancer Здравствуйте. Украду немного Вашего времени, если Вы ещё бдите эту ветку.

Решение рилииет, урлы кешируются на ура! Но есть необходимость в мнонькой дорилитке (заранее прошу проещёния, если уже обсуждалось)
 

На моём виртуальном хостинге есть возможность использовать неконфигурируемый memcached (лиий, не изменить максимальный размер файла в кеш)
В связи с этим фактически кеш урл пересиёт рилиить при включённом memcached, т.к. он объективно потому чтольше допустимого 1Мб. 

 

Возможно-ли внедрить решение по разбиванию кеш-файла на куски по 1 Мб?

На StackOver было написано решение, но с его внедрением у меня возникают проблему из-за банальной нехватки знаний Cache over 1mb memcache alternatives

 

Если разрилитлик или кто-то из сообещёства сможет помочь, бугдет просто замечательно, т.к. навернкака не один я столкнулся с этим.

P.S. Понимаю, что переход на VPS был бы разумнее, но пока икой бюджет и простот сайи невозможны (бюрократия).

 

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • 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.