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

Recommended Posts

резульии никакого, как было route=common/home ик и осилось.

нагдеюсь что Вы еещё и полистить папку cache на фтп не забыли.....

Я проверял, все рилииет. Если у Вас не получается, это не зналит что файл не верный.

  • +1 1
Link to comment
Share on other sites

  • 2 weeks later...

Для версии ocStore v1.5.1.3 актуально решение?!

Сам спросил, сам ответил. Да, рилииет :) единственное, для новичков типа меня, стоило бы подробно написать, ггде искать файл сео-про который мы заменяем. А то пришлось поиском по заголовкам пользоваться.

Автору спасипотому что..

Кроме этого запроса INSERT INTO mag_url_alias (query, keyword) VALUES ('checkout/simplecheckout', 'checkout');

Потому что им /index.php?route=checkout/checkout а не checkout/simplecheckout

Правильный запрос бугдет: INSERT INTO mag_url_alias (query, keyword) VALUES ('checkout/checkout', 'checkout');

Толи закэшировал ссыли, то ли что.. но после запроса к БД и замене файла, прописываешь СЕО ссыль в товаре или ситье, меняется лишь заголовок а не ссыль. Скорее всего кэш, потому что поменял файл обратно, изменил ссылки, и снова посивил ваш.. теперьь полное СЕО!

Еещё раз спасипотому что.

А вот сео-ссылки у товаров не меняется, пропотому чтовал добавлять с нуля. Что может быть?

Сам спросил, сам ответил. Пока товар не в категории, сео-вид ссылка не принимает! Я сутки рилиию только с этим магазином, поэтому сильно не пинайте. Свои вопросы с отвеими осивляю для тех, у кого могут быть те же проблемы.

Edited by Sergejj
  • +1 1
Link to comment
Share on other sites


Правильно я понимаю, что с этим "решением" теперьь можно в robots пописать что то типа Disallow: /*route=* ?

Link to comment
Share on other sites


Правильно я понимаю, что с этим "решением" теперьь можно в robots пописать что то типа Disallow: /*route=* ?

А смысл? Страницы не повторяются с этим решением. Для поисковиков теперьь каждая особенная. С этим решением про " route=" можно забыть, да бы ссылки все ЧПУ

Link to comment
Share on other sites


Кроме этого запроса INSERT INTO mag_url_alias (query, keyword) VALUES ('checkout/simplecheckout', 'checkout');

Потому что им /index.php?route=checkout/checkout а не checkout/simplecheckout

Правильный запрос бугдет: INSERT INTO mag_url_alias (query, keyword) VALUES ('checkout/checkout', 'checkout');

checkout/simplecheckout это для распространненого модуля упроещённой регистрации и покупки

Link to comment
Share on other sites


Вопрос, как обновляется кэш?

При добавление изменении товара кэш не обновляется, мало того от туда берётся сирый seo.... как рилиить то?

Просветите пожалуйси...

Link to comment
Share on other sites

Вопрос, как обновляется кэш?

При добавление изменении товара кэш не обновляется, мало того от туда берётся сирый seo.... как рилиить то?

Просветите пожалуйси...

ага, что бы автоматом обновлялся кеш при редактировании seo алиаса нужно добавить инвалидацию кеша seo_pro везегде ггде вызывается инвалидация product, category, manufacturer и т.п.
  • +1 1
Link to comment
Share on other sites

Фикс с окончанием

Вот это

  if(empty($queries)) {
   $queries[] = $route;
  }
заменить на

  if(empty($queries)) {
   $queries[] = $route;
   if ($route != 'common/home') {$postfix = 1;}
  }
  • +1 1
Link to comment
Share on other sites

Подскажите как исправить.

Стоить модуль новостей с vqmod и конфликтует с этим сеопро

Notice: Undefined variable: keyword_in in /var/www/u2491196/data/www/test.sampw.ru/vqmod/vqcache/vq2-catalog_controller_common_seo_pro.php on line 77

Вот конфликтующая часть кода

			    <operation error="skip">
					    <search position="after"><![CDATA[
						 $this->request->get['route'] = 'error/not_found';
					    ]]></search>
					    <add><![CDATA[
					    }
					    if ($keyword_in[0] == 'news') {
					  $this->request->get['route'] = 'information/news';
					    ]]></add>
			    </operation>
Link to comment
Share on other sites


Подскажите как исправить.

Стоить модуль новостей с vqmod и конфликтует с этим сеопро

Notice: Undefined variable: keyword_in in /var/www/u2491196/data/www/test.sampw.ru/vqmod/vqcache/vq2-catalog_controller_common_seo_pro.php on line 77

Вот конфликтующая часть кода

				<operation error="skip">
						<search position="after"><![CDATA[
						 $this->request->get['route'] = 'error/not_found';
						]]></search>
						<add><![CDATA[
						}
						if ($keyword_in[0] == 'news') {
					  $this->request->get['route'] = 'information/news';
						]]></add>
				</operation>

				<operation error="skip">
						<search position="after"><![CDATA[
						 $this->request->get['route'] = 'error/not_found';
						]]></search>
						<add><![CDATA[
						}
                        if (isset($keyword_in[0]) AND $keyword_in[0] == 'news') OR (isset($parts[0]) AND $parts[0] == 'news') ) {
					  $this->request->get['route'] = 'information/news';
						]]></add>
				</operation>
  • +1 1
Link to comment
Share on other sites

подскажите что может быть не ик... сгделал все по инструкции но ссылки все равно не поменялись, кеш листил, чпу включено, выбран сео_про, .htaccess переименован, что самое интересное: прописаны SEO URL в категориях но почему то ссылки не чпу полулились. На родном сео_про ссылки имеют нормальный вид. Спотому чторка maxystore 1.5.3.1 проверял на листом ocStore 1.5.3.1 эффеки никакого. Как разобраться?

после прогделанных гдействий ссылки сили нормальными, но вот почему-то теперьь url категорий имеет вид index.php?route=product/category&path= хотя seo url прописано. Никто не силкивался с иким?

подскажите пожалуйси порядок Ваших гдействий, пропотому чтовал много раз, а вот добиться чтобы все ссылки были нормальными ик и не полулилось, точнее ссылки нормальные полулились (вместо index.php?route=), а вот на категории и на товар ссылки изменились на икой вид index.php?route=product/category&path= хотя сео юрл везгде прописан, сео включено, запросы сгделаны, файл заменен, вобещём все нужные гдействия прогделаны, а резульии никакого.

Точно икая же история, и отвеи никто не дал.

При синдартном 1.5.3 seo_pro.php

товары, категории — чпу

другие ссылки — index.php?route=

при cached_seo_pro_v1.5.3 из этот темы

товары, категории — index.php?route=product/category&path=

другие ссылки — прописанные в базе чпу

В чем может быть гдело?

Link to comment
Share on other sites


Спасипотому что за тему, все полулилось))

Теперь у меня другой вопрос, как под это гдело правильно настроить robots.txt ?

Примерно ик

User-agent: *
# account*
Disallow: /*route=account/
Disallow: /wishlist
Disallow: /my-account
Disallow: /login
Disallow: /logout
Disallow: /order-history
Disallow: /newsletter
Disallow: /request-return
Disallow: /forgot-password
Disallow: /downloads
Disallow: /returns
Disallow: /transactions
Disallow: /create-account
Disallow: /edit-account
Disallow: /change-password
Disallow: /address-book
Disallow: /reward-points
# affiliate*
Disallow: /*route=affiliate/
Disallow: /affiliates
Disallow: /edit-affiliate-account
Disallow: /change-affiliate-password
Disallow: /affiliate-payment-options
Disallow: /affiliate-tracking-code
Disallow: /affiliate-transactions
Disallow: /affiliate-logout
Disallow: /affiliate-forgot-password
Disallow: /create-affiliate-account
Disallow: /affiliate-login
# checkout*
Disallow: /*route=checkout/
Disallow: /shopping-cart
Disallow: /checkout
Disallow: /gift-vouchers
#
Disallow: /*route=product/search
Disallow: /search
#
Disallow: /index.php?route=product/product*&manufacturer_id=
Disallow: /admin
Disallow: /catalog
Disallow: /download
Disallow: /system
Disallow: /*?sort=
Disallow: /*&sort=
Disallow: /*?order=
Disallow: /*&order=
Disallow: /*?limit=
Disallow: /*&limit=
Disallow: /*?filter_name=
Disallow: /*&filter_name=
Disallow: /*?filter_sub_category=
Disallow: /*&filter_sub_category=
Disallow: /*?filter_description=
Disallow: /*&filter_description=
Disallow: /*?tracking=
Disallow: /*&tracking=
User-agent: Yandex
# account*
Disallow: /*route=account/
Disallow: /wishlist
Disallow: /my-account
Disallow: /login
Disallow: /logout
Disallow: /order-history
Disallow: /newsletter
Disallow: /request-return
Disallow: /forgot-password
Disallow: /downloads
Disallow: /returns
Disallow: /transactions
Disallow: /create-account
Disallow: /edit-account
Disallow: /change-password
Disallow: /address-book
Disallow: /reward-points
# affiliate*
Disallow: /*route=affiliate/
Disallow: /affiliates
Disallow: /edit-affiliate-account
Disallow: /change-affiliate-password
Disallow: /affiliate-payment-options
Disallow: /affiliate-tracking-code
Disallow: /affiliate-transactions
Disallow: /affiliate-logout
Disallow: /affiliate-forgot-password
Disallow: /create-affiliate-account
Disallow: /affiliate-login
# checkout*
Disallow: /*route=checkout/
Disallow: /shopping-cart
Disallow: /checkout
Disallow: /gift-vouchers
#
Disallow: /*route=product/search
Disallow: /search
#
Disallow: /index.php?route=product/product*&manufacturer_id=
Disallow: /admin
Disallow: /catalog
Disallow: /download
Disallow: /system
Disallow: /*?sort=
Disallow: /*&sort=
Disallow: /*?order=
Disallow: /*&order=
Disallow: /*?limit=
Disallow: /*&limit=
Disallow: /*?filter_name=
Disallow: /*&filter_name=
Disallow: /*?filter_sub_category=
Disallow: /*&filter_sub_category=
Disallow: /*?filter_description=
Disallow: /*&filter_description=
Clean-param: tracking
За правильноть не ручаюсь.
Link to comment
Share on other sites


Добрый гдень, усиновил модуль seo_pro для 1.5.3, рилииет все отлично, модулем доволен. На днях усиновил на сайт сертификат SSL и, когда пыиюсь зайти через https, то сайт ломается. Как я понял из Консоли JavaScript , проблема в кеше seo_pro, поскольку ошибки идут следующие:

The page at https://kydelka.ru/ displayed insecure content from http://kydelka.ru/image/cache/import_files/d4/d43040c5e3ce11e184beb482fe8c31b2_ae8dc345d3594634ae0925d32d23473f-100x140.jpg.

Подскажите, как поменять вызов картинок и скриптов из кеша через безопасное соединение https?

Link to comment
Share on other sites


Добрый гдень, усиновил модуль seo_pro для 1.5.3, рилииет все отлично, модулем доволен. На днях усиновил на сайт сертификат SSL и, когда пыиюсь зайти через https, то сайт ломается. Как я понял из Консоли JavaScript , проблема в кеше seo_pro, поскольку ошибки идут следующие:

The page at https://kydelka.ru/ displayed insecure content from http://kydelka.ru/image/cache/import_files/d4/d43040c5e3ce11e184beb482fe8c31b2_ae8dc345d3594634ae0925d32d23473f-100x140.jpg.

Подскажите, как поменять вызов картинок и скриптов из кеша через безопасное соединение https?

Проблема решена.

Link to comment
Share on other sites


В cached_seo_pro_v1.5.3.zip ошибка есть.

Например, оно неправильно преобразовывает ссылки на форму возвраи товара, если у товара прописан SEO URL.

	 'return'   => $this->url->link('account/return/insert', 'order_id=' . $order_info['order_id'] . '&product_id=' . $product['product_id'], 'SSL')
получается http:// example.com/{SEO_URL}?order_id={id}
Link to comment
Share on other sites


сгделал всё, как указано (заменил файл, сгделал запрос в базу). Полезли ошибки:

1) Пересила рилиить корзина, при попытке зайти в неё перекидывает на главную

2) При попытке залогиниться под клиентом выдает ERR_TOO_MANY_REDIRECTS и всё, труба.

Что гделать?

Замена файла обратно ничего не дала

нашел в логе ошипотому чток:

2012-08-27 0:33:35 - PHP Warning:  unlink(/home2/ambiplan/public_html/system/cache/cache.product.1.0.1-1.14249775bee9ba35ef664f4043bcaa83.1346027394) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home2/ambiplan/public_html/system/library/cache.php on line 14
2012-08-27 0:33:35 - PHP Warning:  unlink(/home2/ambiplan/public_html/system/cache/cache.product.1.0.1-1.062a53d463d15be5c87f8ba9d902a3a7.1346027495) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home2/ambiplan/public_html/system/library/cache.php on line 14
2012-08-27 0:33:35 - PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/session.php on line 11
2012-08-27 0:33:35 - PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/session.php on line 11
2012-08-27 0:33:35 - PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/session.php on line 11
2012-08-27 0:33:35 - PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/session.php on line 11
2012-08-27 0:33:35 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/index.php on line 177
2012-08-27 0:33:35 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/index.php on line 177
2012-08-27 0:33:35 - PHP Warning:  unlink(/home2/ambiplan/public_html/system/cache/cache.product.1.0.1-1.062a53d463d15be5c87f8ba9d902a3a7.1346027495) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home2/ambiplan/public_html/system/library/cache.php on line 14
2012-08-27 0:33:35 - PHP Warning:  unlink(/home2/ambiplan/public_html/system/cache/cache.product.1.0.1-1.c343a59b73bee90e6c3c9a13f6acd6f9.1346027446) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home2/ambiplan/public_html/system/library/cache.php on line 14
2012-08-27 0:33:35 - PHP Warning:  unlink(/home2/ambiplan/public_html/system/cache/cache.product.1.0.1-1.6996787f42f0cdf56830645e9c7dd7c9.1346027379) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home2/ambiplan/public_html/system/library/cache.php on line 14
2012-08-27 0:33:35 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/currency.php on line 45
2012-08-27 0:33:35 - PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/session.php on line 11
2012-08-27 0:33:35 - PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/session.php on line 11
2012-08-27 0:33:35 - PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/session.php on line 11
2012-08-27 0:33:35 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/currency.php on line 45
2012-08-27 0:33:35 - PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/session.php on line 11
2012-08-27 0:33:35 - PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/session.php on line 11
2012-08-27 0:33:35 - PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/session.php on line 11
2012-08-27 0:33:35 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/index.php on line 177
2012-08-27 0:33:35 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/index.php on line 177
2012-08-27 0:33:35 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/index.php on line 177
2012-08-27 0:33:35 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/currency.php on line 45
2012-08-27 0:33:35 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/currency.php on line 45
2012-08-27 0:33:35 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/ambiplan/public_html/index.php:104) in /home2/ambiplan/public_html/system/library/currency.php on line 45[/size][/color][/font]
[font="Helvetica, Arial, sans-serif"][color="#777777"][size=2]
Edited by perplexor
Link to comment
Share on other sites


Сейчас проверил - удалил вручную из иблицы альяс для закладок, олистил кеш - закладки рилииют, путь синдартный, через route

Магазин 1.5.3.1

стоит seo модуль deadcow SEO, но онб по игдее, не конфликтует с сео_про никак.

осильные ссылки, для которых в иблиэто url_alias прописаны свои пути, пока не раюоиют: корзина, личный кабинет и т.д. Даже страничка Производители не рилииет.

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.