Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
1. Переименовать файл .htaccess.txt в .htaccess (расположен в корне магазина);Подскажите где можно найти информацию на русском языке по настройке сео про пак для ocstore 1.5.4.1
Инструкция в комплекте идет, но она на английском языке
1. Переименовать файл .htaccess.txt в .htaccess (расположен в корне магазина);
2. Скачать это, разархивировать и скопировать в catalog/controller/common/;
3. В phpMyAdmin выбрать Вашу базу данных и во вкладке SQL выполнить этот запрос:
Для таблиц с префиксом
4. В панели управления перейти в Система → Настройки → Изменить → Сервер и установить так:INSERT INTO oc_url_alias (query, keyword) VALUES ('common/home', '');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/wishlist', 'wishlist');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/account', 'my-account');
INSERT INTO oc_url_alias (query, keyword) VALUES ('checkout/cart', 'shopping-cart');
INSERT INTO oc_url_alias (query, keyword) VALUES ('checkout/checkout', 'checkout');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/login', 'login');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/logout', 'logout');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/order', 'order-history');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/newsletter', 'newsletter');
INSERT INTO oc_url_alias (query, keyword) VALUES ('product/special', 'specials');
INSERT INTO oc_url_alias (query, keyword) VALUES ('affiliate/account', 'affiliates');
INSERT INTO oc_url_alias (query, keyword) VALUES ('checkout/voucher', 'gift-vouchers');
INSERT INTO oc_url_alias (query, keyword) VALUES ('product/manufacturer', 'brands');
INSERT INTO oc_url_alias (query, keyword) VALUES ('information/contact', 'contact-us');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/return/insert', 'request-return');
INSERT INTO oc_url_alias (query, keyword) VALUES ('information/sitemap', 'sitemap');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/forgotten', 'forgot-password');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/download', 'downloads');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/return', 'returns');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/transaction', 'transactions');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/register', 'create-account');
INSERT INTO oc_url_alias (query, keyword) VALUES ('product/compare', 'compare-products');
INSERT INTO oc_url_alias (query, keyword) VALUES ('product/search', 'search');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/edit', 'edit-account');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/password', 'change-password');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/address', 'address-book');
INSERT INTO oc_url_alias (query, keyword) VALUES ('account/reward', 'reward-points');
INSERT INTO oc_url_alias (query, keyword) VALUES ('affiliate/edit', 'edit-affiliate-account');
INSERT INTO oc_url_alias (query, keyword) VALUES ('affiliate/password', 'change-affiliate-password');
INSERT INTO oc_url_alias (query, keyword) VALUES ('affiliate/payment', 'affiliate-payment-options');
INSERT INTO oc_url_alias (query, keyword) VALUES ('affiliate/tracking', 'affiliate-tracking-code');
INSERT INTO oc_url_alias (query, keyword) VALUES ('affiliate/transaction', 'affiliate-transactions');
INSERT INTO oc_url_alias (query, keyword) VALUES ('affiliate/logout', 'affiliate-logout');
INSERT INTO oc_url_alias (query, keyword) VALUES ('affiliate/forgotten', 'affiliate-forgot-password');
INSERT INTO oc_url_alias (query, keyword) VALUES ('affiliate/register', 'create-affiliate-account');
INSERT INTO oc_url_alias (query, keyword) VALUES ('affiliate/login', 'affiliate-login');
[/spoil]
Для таблиц без префикса
[spoil]
INSERT INTO url_alias (query, keyword) VALUES ('common/home', '');
INSERT INTO url_alias (query, keyword) VALUES ('account/wishlist', 'wishlist');
INSERT INTO url_alias (query, keyword) VALUES ('account/account', 'my-account');
INSERT INTO url_alias (query, keyword) VALUES ('checkout/cart', 'shopping-cart');
INSERT INTO url_alias (query, keyword) VALUES ('checkout/checkout', 'checkout');
INSERT INTO url_alias (query, keyword) VALUES ('account/login', 'login');
INSERT INTO url_alias (query, keyword) VALUES ('account/logout', 'logout');
INSERT INTO url_alias (query, keyword) VALUES ('account/order', 'order-history');
INSERT INTO url_alias (query, keyword) VALUES ('account/newsletter', 'newsletter');
INSERT INTO url_alias (query, keyword) VALUES ('product/special', 'specials');
INSERT INTO url_alias (query, keyword) VALUES ('affiliate/account', 'affiliates');
INSERT INTO url_alias (query, keyword) VALUES ('checkout/voucher', 'gift-vouchers');
INSERT INTO url_alias (query, keyword) VALUES ('product/manufacturer', 'brands');
INSERT INTO url_alias (query, keyword) VALUES ('information/contact', 'contact-us');
INSERT INTO url_alias (query, keyword) VALUES ('account/return/insert', 'request-return');
INSERT INTO url_alias (query, keyword) VALUES ('information/sitemap', 'sitemap');
INSERT INTO url_alias (query, keyword) VALUES ('account/forgotten', 'forgot-password');
INSERT INTO url_alias (query, keyword) VALUES ('account/download', 'downloads');
INSERT INTO url_alias (query, keyword) VALUES ('account/return', 'returns');
INSERT INTO url_alias (query, keyword) VALUES ('account/transaction', 'transactions');
INSERT INTO url_alias (query, keyword) VALUES ('account/register', 'create-account');
INSERT INTO url_alias (query, keyword) VALUES ('product/compare', 'compare-products');
INSERT INTO url_alias (query, keyword) VALUES ('product/search', 'search');
INSERT INTO url_alias (query, keyword) VALUES ('account/edit', 'edit-account');
INSERT INTO url_alias (query, keyword) VALUES ('account/password', 'change-password');
INSERT INTO url_alias (query, keyword) VALUES ('account/address', 'address-book');
INSERT INTO url_alias (query, keyword) VALUES ('account/reward', 'reward-points');
INSERT INTO url_alias (query, keyword) VALUES ('affiliate/edit', 'edit-affiliate-account');
INSERT INTO url_alias (query, keyword) VALUES ('affiliate/password', 'change-affiliate-password');
INSERT INTO url_alias (query, keyword) VALUES ('affiliate/payment', 'affiliate-payment-options');
INSERT INTO url_alias (query, keyword) VALUES ('affiliate/tracking', 'affiliate-tracking-code');
INSERT INTO url_alias (query, keyword) VALUES ('affiliate/transaction', 'affiliate-transactions');
INSERT INTO url_alias (query, keyword) VALUES ('affiliate/logout', 'affiliate-logout');
INSERT INTO url_alias (query, keyword) VALUES ('affiliate/forgotten', 'affiliate-forgot-password');
INSERT INTO url_alias (query, keyword) VALUES ('affiliate/register', 'create-affiliate-account');
INSERT INTO url_alias (query, keyword) VALUES ('affiliate/login', 'affiliate-login');
SELECT DISTINCT *, (SELECT GROUP_CONCAT(cd1.name ORDER BY level SEPARATOR ' > ') FROM oc_category_path cp LEFT JOIN
oc_category_description cd1 ON (cp.path_id = cd1.category_id AND cp.category_id != cp.path_id) WHERE cp.category_id
= c.category_id AND cd1.language_id = '2' GROUP BY cp.category_id) AS path, (SELECT keyword FROM oc_url_alias WHERE query
= 'category_id=125') AS keyword FROM oc_category c LEFT JOIN oc_category_description cd2 ON (c.category_id = cd2.category_id)
WHERE c.category_id = '125' AND cd2.language_id = '2' in /var/www/vhosts/lt-shop/lt-shop.org.ua/httpdocs/system/database/mysql.php on line 50