Best-selling templates and extensions in March 2026: LiveYML, GigantFilter, Automatic notifications in Max, Revolution template.
New for March 2026: GigantFilter, Coupon on the product page, MAX notifications, OpenCart Anti-Virus.
Current discounts on payment modules, uploads to Yandex, modules from Serbulenko and opencart-cms.ru, Unishop2 template and GigantFilter.
Top-selling templates and extensions in February 2026: Komplekt-Expert, Telegram Notifications, IMDBOptimizer (OC 3) - Database Optimization, #FX Sitemap - Ultra-fast Sitemap, Lightshop template.
When migrating from other CMS to OpenCart, it is often necessary to preserve old URLs for categories and products to avoid SEO issues and redirects. In such cases, it is required to add prefixes, such as catalog for categories and product for products (other options like item or tovar can also be used). This helps maintain the old link structure. The free modifier from halfhope allows adding such prefixes to URLs for category and product pages in OpenCart/OcStore versions 2.x and 3.x.
The modifier is compatible with SEO_URL and SEO_PRO. The SQL query for adding prefixes is located in the XML file. It is distributed as is, meaning there are no guarantees for support or updates.
site/catalog/category site/product/product
Additionally, there is a solution from Tom for those using SEOPro who need a prefix applied to all pages, including products within categories. For example, you can configure the link structure as follows:
site/catalog/category site/catalog/category/product
The catalog prefix can be replaced with any other suitable for your system. More detailed information and installation instructions are available in the readme file included in the archive.
If you are using the catalog prefix and a custom build rather than ocstore, to avoid conflicts with the existing OpenCart catalog folder, you may need to add the following line to your .htaccess file:
RewriteCond %{REQUEST_FILENAME} !-d
<file path="system/library/seopro.php">
<operation>
<search><![CDATA[foreach ($data as $key => $value) {]]></search>
<add position="before"><![CDATA[$has_prefix = false;]]></add>
</operation>
<operation>
<search><![CDATA[$categories = explode('_', $value);]]></search>
<add position="before"><![CDATA[$has_prefix = true;]]></add>
</operation>
<operation>
<search><![CDATA[if (!empty($rows) && (count($rows) == count($queries))) {]]></search>
<add position="after"><![CDATA[
if ($has_prefix) {
$url .= '/category';
}
]]></add>
</operation>
<operation>
<search><![CDATA[foreach ($data as $key => $value) {]]></search>
<add position="before"><![CDATA[$has_prefix1 = false;]]></add>
</operation>
<operation>
<search><![CDATA[$product_id = (int)$value;]]></search>
<add position="before"><![CDATA[$has_prefix1 = true;]]></add>
</operation>
<operation>
<search><![CDATA[if (!empty($rows) && (count($rows) == count($queries))) {]]></search>
<add position="after"><![CDATA[
if ($has_prefix1) {
$url .= '/product';
}
]]></add>
</operation>
</file>
</modification>
для версии ocStore 3.0.3.9 модификатор от уважаемого halfhop не подходит, так как, по всей видимости, он заточен под другой модуль SeoPro (в описании написано Seo_Pro) который используется, видимо, в других сборках.
А вот модуль от многоуважаемого Tom - он работает на данной сборке.
Я немного подправил и дописал код под мои product и category и вот что получилось: модификатор стал отображать продукты как мне надо : site/PRODUCT/товар.
а вот с категориями - нужна "помощь зала" в таком виде как сейчас главные категории отображаются как надо ( site/CATEGORY/категория) а вот подкатегории отображаются не так как надо - сейчас отображается со вложенностью (site/CATEGORY/категория1/категория2/категория) а мне надо без вложенности (site/CATEGORY/категория).
В общем, конечно, с продуктами справился- это очень хорошо. а с категориями, надеюсь на Вашу помощь. (настройка -ЧПУ товаров с категориями - нет)
Подскажите, пожалуйста, что не правильно делаю?
Установил с нуля сборку с этого сайта Версия ocStore 3.0.3.9 .
настройки:
-Включить ЧПУ - да
-Включить SeoPro - да
-ЧПУ товаров с категориями - нет
В таком варианте показывает site/товар и site/категория, а Нужно чтобы было site/PRODUCT/товар и site/CATEGORY/категория
Установил модификатор, с ним сейчас урл вида site/index.php?route=product/product&product_id=40&path=24 для продуктов и site/index.php?route=product/category&path=17 для категорий.
В .htaccess строку дописал.
Не пойму что не так делаю, помогите, добрые люди, кто чем может.
Буду переносить сайт со старого движка, не хотелось с редиректами заморачиваться....