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!
Screenshots of Custom URL prefixes on SEO Pro
Changelog 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.
We decided to provide you with the opportunity to get some blogs adapted to SEO Pro that our clients have encountered and asked us to make them SEO ad..
In this article, we will tell you how to track store conversions on OpenCart and transfer the value of conversions to Google Analytics (GA4) and Googl..
While everyone is waiting for the release of OpenCart 4.1.0.0, a new release of OpenCart "old" branch 3.0.x.x with version number 3.0.4.0 has been rel..
This website uses cookies 🍪 to provide you with the convenience of working with its functions, based on the Privacy Policy