Advanced SEO
  • Overview
  • Getting Started
    • Installation
    • Drivers
    • Migration
  • Usage
    • Settings & Defaults
    • On-Page SEO
    • Customizing Fields
    • Social Images Generator
    • Crawling
    • Sitemaps
    • Antlers & Blade
    • GraphQL
    • Custom Routes
    • Permissions
    • Meta Tags & Scripts
Powered by GitBook
On this page
  • Install Addon
  • Setup Views
  1. Getting Started

Installation

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>

    <!-- Antlers -->
    {{ seo:head }}
    
    <!-- Blade -->
    @seo('head')

</head>

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

<body>

    <!-- Antlers -->
    {{ seo:body }}
    
    <!-- Blade -->
    @seo('body')

</body>
PreviousOverviewNextDrivers

Last updated 10 months ago