thelia/better-seo-module

Installs: 11 037

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 7

Forks: 11

Open Issues: 1

Type:thelia-module

2.2.4 2024-07-22 09:36 UTC

README

Add Noindex checkbox and Canonical Url, h1 field and manage mesh links, in the Seo tab in back

For this module to work properly you need to install Sitemap module, AlternateHreflang module and CanonicalUrl module.

Installation

Manually

  • Copy the module into <thelia_root>/local/modules/ directory and be sure that the name of the module is BetterSeo.
  • Activate it in your thelia administration panel

Composer

Add it in your main thelia composer.json file

composer require thelia/better-seo-module:~1.4.1

Loop

[better_seo_loop]

Input arguments

### Output arguments

Exemple

{loop type="better_seo_loop" name="exemple.loop" object_id="42" object_type="category" lang_id="1"}

To use ld json you need to add this part to the head of your pages (product, category, brand, folder, content)

{loop name="loop-name" type="better_seo_loop" object_id=$object_id object_type=$object_type lang_id=$langId}
    <script type="application/ld+json">
            {$JSON_DATA nofilter}
    </script>
{/loop}