Hreflang Extension for OpenCart 4

OpenCart hreflang localized version
  • Module version: 1.0.0
  • Last Update: 24/01/2023
  • Module format: ocmod.zip
  • Modification: no
  • OpenCart: 4.x
  • OcStore: -
  • PHP: 8.x
  • License: Single Domain
  • Author: OpenCartBot
  • Support: yes
  • OpenCart hreflang localized version - Screenshot 1
  • OpenCart hreflang localized version - Screenshot 2
  • OpenCart hreflang localized version - Screenshot 3
  • OpenCart hreflang localized version - Screenshot 4
  • OpenCart hreflang localized version - Screenshot 5
  • OpenCart hreflang localized version - Screenshot 6
free support
$10.00
Available payment methods
Extension Compatibility
  • OpenCart: 4.0.1.1, 4.0.2.1, 4.0.2.2, 4.0.2.3
DeveloperOfficial OpenCart partnerOpenCart 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

Add hreflang for a multilingual site on OpenCart 4

The extension adds link elements with hreflang attributes to the head block of every OpenCart page. Hreflang is very important for targeting international SEO, so it is a must-have for a multilingual site. So, if you have several languages on your site, make sure to add hreflang attributes with links to localized versions for each page. The Hreflang extension for OpenCart 4 will help you with this.

DEMO AdminDEMO Live
demo/demo

The hreflang attribute is intended for marking identical pages in different languages and for different regions. With its help, you can indicate to search bots that these pages are related, and their content is intended for specific languages and regions. To add hreflang to OpenCart 4, you need to install the module, write in the settings the language-region targeting codes you need for each site localization.

An example of attributes that the extension can add to the head block of the site:

<link rel="alternate" hreflang="x-default" href="https://opencartbot.net/">

<link rel="alternate" hreflang="en-us" href="https://opencartbot.net/en/">

<link rel="alternate" hreflang="uk-ua" href="https://opencartbot.net/ua/">

<link rel="alternate" hreflang="pl" href="https://opencartbot.net/pl/">

<link rel="alternate" hreflang="cs" href="https://opencartbot.net/cz/">

<link rel="alternate" hreflang="de" href="https://opencartbot.net/de/">

** The URL templates does not depend on this extension, it receives URLs from the OpenCart, so if the URLs look different on your site, it is not a problem, URLs formed according to your rules will be added to hreflang.

The extension allows you to manually write the locale and region code for each localization in hreflang, but it is very important not to make a mistake and do it correctly. In the hreflang attribute, you must specify the language in which the page is created. You can also specify the region for which the content is intended, but this is not mandatory. If only the language code is specified, it will not be an error, but it will only mean that your content is aimed at the audience with the specified language, without reference to regions or countries.

The module also allows you to write x-default as a hreflang code for one of the languages, or choose which localization will also be duplicated with the x-default code. This code is recommended for fallback localization, for users who have set language settings that do not match any of your site's localizations. That is, it should be a universal localized version.

Need this extension for other versions of OpenCart? We are ready to make an adaptation - write to us via chat, messengers or contact form.

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 "Dashboard" section and update the template cache.
  4. Go to the "Extensions" : "Extensions" : "Modules" and enable the module.
  5. Edit module. Enable the status of the module and adjust all its options to your needs and save the settings.
  6. Check module operation.
  7. Bingo!


Screenshots of Hreflang for OpenCart 4

  • OpenCart hreflang localized version - Screenshot 1
  • OpenCart hreflang localized version - Screenshot 2
  • OpenCart hreflang localized version - Screenshot 3
  • OpenCart hreflang localized version - Screenshot 4
  • OpenCart hreflang localized version - Screenshot 5
  • OpenCart hreflang localized version - Screenshot 6
You must be logged in to view the files!
Write a review
Facebook Google
Note: HTML is not translated!
   Bad      Good

Colin Jasper 09/10/2023

Works perfect!


More OpenCart Extensions
Read Our Blog