Add-on for changing the appearance of links on a site based on OpenCart using the SEO Pro module. It allows you to add an additional catalog or prefix to the URL of products, categories, manufacturers, pages. For each of these post types, you can write your own url-prefix, for example, for "product" products, for categories "catalog", "category" or something else. You can write any text prefixes. The extension supports multilingual settings.
DEMO AdminDEMO Live demo/demo
The Custom URL prefixes on SEO Pro module can be useful when migrating a site from another CMS to OpenCart in order to keep the links the way they looked on the old site.
Need a flat category structure on OpenCart? This module will help you make such a structure together with SEO Pro, so you get simple and clear URLs.
How this add-on works
Before using the extension, the links on the site look like this: product - https://site.com/phone category - https://site.com/desktops
After applying the extension, the links look like this: product - https://site.com/product/phone category - https://site.com/category/desktops
Module installation instructions:
Upload the module in the admin panel in the "Extensions" : "Install".
Go to the "Modifications" section and update the cache.
Go to the "Extensions" : "Extensions" : "Modules" and enable the module.
Edit module. Enable the status of the module and adjust all its options to your needs and save the settings.
Check module operation.
Bingo!
Changelog of Custom URL prefixes on SEO Pro
v1.0.2 (21 November 2024) - Removed extra brackets in the ocmod code
v1.0.1 (11 January 2024) - The ocStore 3 bug was fixed, due to which the prefixes entered in the extension settings were not displayed in the settings and it appeared that the extension did not save them.
FAQ: Custom URL prefixes on SEO Pro
Why are the prefix fields empty in the settings?
OpenCart versions up to 3.0.3.7 inclusive have a bug in the admin/model/design/seo_url.php file in the getSeoUrlsByQuery method.
Information from the official github https://github.com/opencart/opencart/issues/6271
This bug needs to be fixed and the problem with displaying prefixes in the settings will disappear.
Commit on github https://github.com/opencart/opencart/pull/6269/commits/3c230fd1ae21bc6482c28ee82e682233ef492683
The code of the method after correction is given below:
public function getSeoUrlsByQuery($query) {
$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "seo_url WHERE query = '" . $this->db->escape($query) . "'");
return $query->rows;
}
You must be logged in to view the files!
Кирилл
17 February 2024
Добрый день, заинтересовал модуль, но просмотрев демо, не понял от него вообще плюса. Вот пример http://priceman.opencartbot.net/ru/catalog/desktops/product/htc-touch-hd, как зделать чтоб выводило http://priceman.opencartbot.net/ru/product/htc-touch-hd, а категория или подкатегория чтоб выводилась http://priceman.opencartbot.net/ru/macs/ ?
opencartbot
17 February 2024
Добрий день!
Щоб реалізувати таку структуру URL вам потрібне ще одне розширення - Короткий URL-категорій. За допомогою цих двох розширень, при наявності SEO Pro, можна налаштувати саме такий формат URL.
Можете ще раз перевірити URL на демо сайті - там зараз саме так налаштовано.
Ольга Федосеева
18 August 2022
Дякую! Класний і корисний модуль. Для мене це було простим рішенням проблеми зберегти url-и при переносі товарів з іншої cms. Окрема вдячність розробнику модуля - дуже уважний до побажань та звернень, мега швидка та якісна техпідтримка! Рекомендую)
Cris
20 March 2022
Works fine, this is what i needed to make the links as before.
On November 20, 2025, a new major release of PHP was published - version 8.5. PHP 8.5 introduces useful improvements, but requires a careful approach when integrating into existing OpenCart projects.
Let’s look at OpenCart optimization methods that don’t require purchasing additional modules or paying for services. The main stages of OpenCart speed optimization.
Black Friday Sale
50% OFF
PROMOCODE:
BLACK2025
28.11.2025 - 30.11.2025
✕
We use cookies and other tracking technologies to improve your browsing experience our website, to personalize content and ads, provide social features media and our traffic analysis.
Necessary cookies enable core functionality of the website. Without these cookies the website can not function properly.
Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.
A set of cookies to collect information and report about website usage statistics without personally identifying individual visitors to Google.
Marketing cookies store user data and behaviour information, which allows advertising services to target more audience groups.
BLACK FRIDAY
Try your luck and win a discount on your next order