Skip to content

5-Minute Quickstart

This walkthrough sets up search metadata, Schema.org structured data, and live previews for the Aegean Voyages (https://aegeanvoyages.example) charter site. All files shown here are also included in site/modules/Seo/examples/real-world/.

  1. Provision the embedded SEO field and sync templates

    Attach a FieldtypeEntries field named metadata (bound to @fieldset:seo) to home and page, and generate initial Template Rules:

    Terminal window
    php vendor/bin/wire seo:setup --field=metadata --templates=home,page --json
  2. Configure Global Settings and Brand Identity

    Open Setup -> SEO -> Settings (seo-settings):

    • Set Site Name to Aegean Voyages and Title Separator to |.
    • Set Default Title Template to {title} {sep} {site_name}.
    • Set Canonical Base URL to https://aegeanvoyages.example.
    • Confirm Enable Dynamic XML Sitemaps and Auto-Create 301 on Slug / URL Change are enabled, then click Save.

    Next, open Setup -> SEO -> Identity (seo-identity):

    • Choose Primary Schema.org Entity Type TravelAgency.
    • Fill in Organization / Person Name (Aegean Voyages Charter & Travel), Official Website URL, contact details, and Marina location, then click Save.
  3. Render $seo->render($page) in your frontend layout

    Add three calls to your main ProcessWire layout template (for example, site/templates/_main.php):

    <?php
    declare(strict_types=1);
    namespace ProcessWire;
    /** @var Page $page */
    /** @var Sanitizer $sanitizer */
    /** @var Seo $seo */
    $seo = wire()->seo;
    ?>
    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= $seo->render($page) ?>
    </head>
    <body>
    <?= $seo->renderBodyOpen($page) ?>
    <main id="content">
    <h1><?= $sanitizer->entities((string) $page->title) ?></h1>
    </main>
    <?= $seo->renderBodyClose($page) ?>
    </body>
    </html>
  4. Optimize a page and inspect the live preview

    Open Setup -> SEO -> Content SEO, click Edit SEO on Gocek 12 Islands Charter Route, and enter:

    • Meta Title: Gocek 12 Islands 7-Day Yacht Route | Aegean Voyages
    • Focus Keywords: gocek yacht charter, 12 islands route, turkish riviera
    • Meta Description: Sail the sheltered bays of Gocek 12 Islands aboard a private crewed gulet. Daily anchorages, turquoise coves, and curated culinary stops.
    • Schema Type: Article

    Click Save and inspect the live Google SERP snippet, Open Graph card, JSON-LD @graph, and readiness score right inside the editor.

  5. Verify public endpoints and site health

    Visit https://your-site.example/sitemap.xml and https://your-site.example/robots.txt, then run:

    Terminal window
    php vendor/bin/wire seo:audit

Next steps