Stand with Ukraine! How can you help?

Custom URL prefixes on SEO Pro OpenCart

Url prefix for products and categories
  • Module version: 1.0.1
  • Last Update: 11/01/2024
  • Module format: ocmod.zip
  • Modification: yes
  • OpenCart: 3.x
  • OcStore: 3.x
  • PHP: 5.6 - 8.x
  • License: Single Domain
  • Author: OpenCartBot
  • Support: yes

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

SEO Pro - url prefix add-on

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:

  1. Upload the module in the admin panel in the "Extensions" : "Install".
  2. Go to the "Modifications" section and update the cache.
  3. Go to the "Extensions" : "Extensions" : "Modules" and enable the module.
  4. Edit module. Enable the status of the module and adjust all its options to your needs and save the settings.
  5. Check module operation.
  6. Bingo!


  • v1.0.1 (11/01/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.

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!

Write a review

Facebook Google
Note: HTML is not translated!
   Bad      Good

Кирилл 17/02/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/02/2024

Добрий день!
Щоб реалізувати таку структуру URL вам потрібне ще одне розширення - Короткий URL-категорій. За допомогою цих двох розширень, при наявності SEO Pro, можна налаштувати саме такий формат URL.
Можете ще раз перевірити URL на демо сайті - там зараз саме так налаштовано.

Ольга Федосеева 18/08/2022

Дякую! Класний і корисний модуль. Для мене це було простим рішенням проблеми зберегти url-и при переносі товарів з іншої cms. Окрема вдячність розробнику модуля - дуже уважний до побажань та звернень, мега швидка та якісна техпідтримка! Рекомендую)

Cris 20/03/2022

Works fine, this is what i needed to make the links as before.

Orehi 20/01/2022

Спасибо, работает

live
support

Extension Compatibility

  • OpenCart: 3.0.0.0, 3.0.0.2, 3.0.1.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.4, 3.0.3.5, 3.0.3.6, 3.0.3.7, 3.0.3.8, 3.0.3.9,
$15.00
Domain for which the extension will be purchased
Available payment methods
Official OpenCart partner

OpenCart Development Partner

  •  Professional support of the author
  • Lifetime license
  • The license key is provided automatically
  •  Free license key for test domain
  • Extensions can be modified
  • Periodic module updates
  • Free technical support
Special offer

More OpenCart Extensions

Products by Categories on Home page

$12.00

Get products by tags or by part of a tag

$10.00

YML feed OpenCart

Free

Add sample to cart

$15.00

Auto sending a request to Bing

$20.00

Add field short name for product

$10.00

Read Our Blog