Install Addon

Install the addon with Composer:

composer require aerni/advanced-seo

The installation process will automatically publish the addon's config to config/advanced-seo.php. Make sure to check it out, as there are lots of configuration options to tailor the features to your needs.

Setup Views

Add the head tag somewhere in your layout's <head>:

<head>{{ seo:head }}</head>

Add the body tag right after the opening <body> in your layout. This is only needed when using Google Tag Manager.

<body>{{ seo:body }}</body>

Last updated