OCT SEO Pro — SEO-friendly URLs, redirects and sitemap for OpenCart 3 and 4.1
OCT SEO Pro — SEO-friendly URLs, redirects and sitemap for OpenCart 3 and 4.1
Free SEO URL management module for OpenCart 3, ocStore and OpenCart 4.1. URLs with and without categories, 301 redirects from any old URLs, language prefixes and hreflang, a custom sitemap for Google, audit and SEO URL generation from product names. No OCMOD and no changes to core files.
Description
OCT SEO Pro fully takes over store URLs: how they look, where old addresses lead, and how Google sees the language versions of pages. It works through OpenCart events, without OCMOD and without core changes. Disable the module and the store keeps working with the standard SEO URLs, as before. Versions are available for OpenCart 3 (and ocStore) and for OpenCart 4.1, both in one archive.
URLs the way you need them
- A separate ending for each page type (none, / or .html), prefix and postfix: /brand/apple, /iphone.html.
- Categories in product URLs: no category, only the main category, or the full path. The maximum depth can be limited.
- A "Main category" field in the product form, compatible with ocStore. If no main category is selected, the deepest category of the product is used.
No duplicates and no lost positions
- 301 redirect to the correct URL from index.php?route=…, a different case, a different ending, an old nesting, ?page=1.
- OpenCart 4.1: instead of the standard /uk-ua/product/iphone and /uk-ua/catalog/desktops/mac, the URLs become /iphone and /desktops/mac, and the standard URLs redirect with 301.
- After renaming a product or category, the old URL redirects with 301 to the new one.
- Manual redirects (301, 302, 410) with CSV import and export. A 404 log with a "Create redirect" button.
- UTM tags and gclid are carried over to the new URL. Nonexistent pages return a proper 404.
Languages
- Language prefixes /en/…, hreflang and x-default on every page.
- The language switcher leads to the same page in another language.
- If SEO URLs are not filled in for all languages, a page may use the SEO URL of the main language.
SEO URLs from names and audit
- SEO URLs are created from names automatically when a product is saved, or with one button for the entire catalog. Transliteration of Ukrainian, Russian and Polish, or Cyrillic as is.
- The audit finds duplicates, invalid characters, Cyrillic, conflicts and SEO URLs of deleted pages. Most problems are fixed with one button.
Sitemap for Google
- Own multilingual sitemap with hreflang and product images, split into files of 10,000 URLs each.
- OpenCart 4.1 has no standard sitemap at all: the module's sitemap is the only one.
- With 100,000 products, the standard Google Sitemap of OpenCart 3 crashes due to lack of memory. The module's sitemap collects 200,000 URLs in two languages in about 9 seconds, even with 64 MB of memory.
Indexing
- noindex for search, cart, account, sorting and filters.
- Correct rel=canonical on all pages.
Blogs, filters and other modules
- OpenCart 3: the blog and promotions of OCTemplates templates work right away.
- OpenCart 3: OCFilter filter landing pages work right after the filter is installed, with 301, canonical, hreflang and sitemap.
- OpenCart 4.1: articles of the standard blog work right away (/blog/my-article).
- Pages of any other modules are connected in the settings tab, without code.
- Links built by other modules are not lost.
- Developers can connect their own module without OCMOD: a description and an example are in the settings.
Speed
- With a warmed-up cache, pages open just as fast as without SEO URLs. The standard SEO URLs of OpenCart 3 make twice as many database queries.
- OpenCart 3 has been tested on catalogs of 100,000 and 1,000,000 products, OpenCart 4.1 on a catalog of 50,000 products.
- Cache: files, Redis, Memcached or APCu.
Status block
Shows what prevents SEO URLs from working (disabled SEO URLs, missing .htaccess, conflicts with other modules, robots.txt) and explains what to do about it.
Requirements
- OpenCart 3.0.x or ocStore 3.0.x, PHP 7.4 or newer. Tested on 3.0.4.0, 3.0.5.1 and ocStore 3.0.4.1, PHP 7.4 and 8.2–8.5.
- OpenCart 4.1.0.x, PHP 8.1 or newer. Tested on 4.1.0.4, PHP 8.3–8.5. OpenCart 4.0.x is not supported.
- PHP mbstring extension.
- Apache or LiteSpeed with .htaccess, or nginx.
Installation
- The archive contains two folders: opencart-3 and opencart-4.1. Take oct_seo_pro.ocmod.zip from the folder of your version and do not rename it.
- OpenCart 3: "Extensions → Extension Installer" → upload the archive.
- OpenCart 4.1: "Extensions → Installer" → upload the archive and click "Install" next to OCT SEO Pro.
- "Extensions → Modules" → OCT SEO Pro → "Install".
- Open the module, enable it and save.
Multistore is supported. The admin panel is available in Ukrainian, English and Russian. License MIT, the module is free.
Specifications
- PHP Version
- 7.4 8.0 8.1 8.2 8.3 8.4 8.5
- OpenCart Version
- 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 4.1.0
- Module Localization
- Ukrainian, English, Russian
- Support Language
- Ukrainian, English
- Ioncube Loader
- No (not required)
- Developer Server Connection
- No
- If Developer Server Unavailable
- Extension works
Reviews (0)
Please log in to leave a review.
Log inNo reviews yet
Be the first to review this product!
Questions (0)
Please log in to ask a question.
Log inNo questions yet
Be the first to ask a question about this product!
Changelog
- The module is now available for OpenCart 4.1 as well — the archive contains two folders: opencart-3 and opencart-4.1. Tested on OpenCart 4.1.0.4, PHP 8.3–8.5, Apache and nginx.
- In OpenCart 4.1, addresses become short: /iphone and /desktops/mac instead of the standard /uk-ua/product/iphone and /uk-ua/catalog/desktops/mac. A 301 redirect is made from the standard addresses.
- In the OpenCart 4.1 version, everything that works in OpenCart 3 works as well: address format and nesting, language prefixes, hreflang, canonical, noindex, sitemap, main category, SEO URLs from names, audit, manual redirects, 404 log, pages of other modules.
- Articles of the standard OpenCart 4.1 blog are connected automatically (/blog/my-article).
- SEO URLs in OpenCart 4.1 are stored in the standard format: after the module is disabled, the standard addresses work as before.
- OpenCart 3: no changes in operation, no actions required for the update.
- Changes in the Sitemap: the part files now have short names without hyphens — /smproducts1.xml, /smcategories1.xml, /smoctblogarticle1.xml instead of /sitemap-products-1.xml.
- In Search Console, one /sitemap.xml is enough: there is no need to add the separate parts individually.
9 files modified
- admin/controller/extension/module/oct_seo_pro.php
- catalog/controller/extension/module/oct_seo_pro.php
- system/library/octseopro/sitemap.php
- admin/language/en-gb/extension/module/oct_seo_pro.php
- admin/language/ru-ru/extension/module/oct_seo_pro.php
- admin/language/uk-ua/extension/module/oct_seo_pro.php
- admin/view/template/extension/module/oct_seo_pro.twig
- system/library/octseopro/callback.php
- system/library/octseopro/handlers.php
- Filter landing pages for "OCFilter" work immediately as soon as the filter is installed, without any settings. The address is the category page and its keyword (/desktops/mac/red), in the format of category addresses.
- Everything that applies to categories also works for landing pages: 301 redirects from old addresses and from ?ocfilter_page_id=…, canonical (on pagination, pointing to the page itself), hreflang, language switcher, keyword history, sitemap.
- Pages of different categories may have the same keyword; dynamic filter pages with masks are supported.
- New scheme in the "Module pages" tab: "Page in a product category", i.e., a page of any module inside a standard category.
- Links built by other modules are no longer lost and work with all address endings, including .html.
- For developers: a module can connect its own address handler and keep its parameters in the path (/desktops/mac/tint-red instead of ?tint=red) without OCMOD. The description and example are in the "Module pages" tab.
- The audit does not treat the same keyword on pages of different categories as a duplicate, and filter template masks are not considered invalid characters.
- After the update, open the module's settings page — this completes the update.
18 files modified
- admin/controller/extension/module/oct_seo_pro.php
- admin/language/en-gb/extension/module/oct_seo_pro.php
- admin/language/ru-ru/extension/module/oct_seo_pro.php
- admin/language/uk-ua/extension/module/oct_seo_pro.php
- admin/model/extension/module/oct_seo_pro_keyword.php
- admin/view/template/extension/module/oct_seo_pro.twig
- catalog/controller/extension/module/oct_seo_pro.php
- system/library/octseopro/foreign.php (новий)
- system/library/octseopro/handler.php (новий)
- system/library/octseopro/handlers.php (новий)
- system/library/octseopro/map.php
- system/library/octseopro/request.php (новий)
- system/library/octseopro/rewriter.php
- system/library/octseopro/router.php
- system/library/octseopro/seo.php
- system/library/octseopro/settings.php
- system/library/octseopro/sitemap.php
- system/library/octseopro/types.php
- New "canonical on pagination pages" option. It is most needed for ocStore, because there the canonical on these pages is either missing or points to the first page.
9 files modified
- admin/controller/extension/module/oct_seo_pro.php
- admin/language/en-gb/extension/module/oct_seo_pro.php
- admin/language/ru-ru/extension/module/oct_seo_pro.php
- admin/language/uk-ua/extension/module/oct_seo_pro.php
- admin/view/template/extension/module/oct_seo_pro.twig
- catalog/controller/extension/module/oct_seo_pro.php
- system/library/octseopro/router.php
- system/library/octseopro/seo.php
- system/library/octseopro/settings.php
- - Address format for each page type: suffix (none, `/`, or `.html`), prefix and postfix.
- - Main product category (compatible with ocStore) and category nesting in product and category addresses, with a depth limit.
- - 301 redirect to the canonical address from `index.php?route=…`, a different case, suffix, or nesting; history of old addresses after renaming; a true 404.
- - Manual redirects (301, 302, 410) with CSV import and export, 404 log with a "Create redirect" button.
- - Language prefixes (`/en/…`), `hreflang` and `x-default`, language switcher to the same page, SEO URL selection for languages where they are not filled in.
- - Keywords from names: when saving a page or with one button for the entire catalog, transliteration of Ukrainian, Russian, and Polish.
- - Keyword audit: duplicates, invalid characters, Cyrillic, conflicts, keywords of deleted pages.
- - Pages of other modules: OCTemplates blog and promotions immediately, any others — in the "Module Pages" tab.
- - Multilingual sitemap for Google Search Console.
- - noindex for service pages, sorting and filters; correct `rel=canonical`.
- - Status tab: what prevents SEO URLs from working and what to do about it.
- - The "Keywords" and "Audit" tabs load after the page, and on large catalogs their counts are cached; the module page opens immediately regardless of catalog size.
- - Cache (files, Redis, Memcached, APCu), multistore, ocStore; tested on catalogs with 100,000 and 1,000,000 products.
- - "Help" tab: module version and links to octemplates.net and opencartcode.com.
- - Admin interface in Ukrainian, English, and Russian.
Available Files
No files uploaded yet