News and articles
A selection of new modules for OpenCart for December 2024

New products for December 2024: Tokens for the neural network, Multitool, Address storage.

 
 
 
 
 
Best-selling templates and extensions in December 2024

Best-selling templates and extensions in December 2024: BatchEditor, Snow Effect, LightShop template.

 
 
 
 
 
How to insert a Yandex.Maps widget in OpenCart in the desired layout using IMAnyJsCss?

Embedding widgets, such as Yandex.Maps, into an OpenCart store may seem like a complex task requiring code modifications. However, with the IMAnyJsCss module, this process becomes simple and accessible even for those without deep technical knowledge.

 
 
 
 
 
OpenCart Security When Working with a New Contractor: All About Backups

An OpenCart store critically needs a reliable backup system to quickly recover from failures, hacks, and developer errors. Regular backups, storing copies outside the main server, and verifying their restoration ensure the security and stability of the website.

 
 
 
 
 
Happy New Year 2025!
30 December 2024
Happy New Year 2025!

Our small New Year's greeting.

 
 
 
 
 

Prefixes catalog and product for OpenCart/ocStore

 
Prefixes catalog and product for OpenCart/ocStore
  • 0

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

Рекомендуем посмотреть
Рекомендуем прочитать
 
 


Yet, no one has left a comment to the entry.