PHPackages                             presprog/kirby-seo-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. presprog/kirby-seo-plugin

ActiveKirby-plugin[Utility &amp; Helpers](/categories/utility)

presprog/kirby-seo-plugin
=========================

Opinionated SEO plugin for Kirby 4. With meta description, open graph, sitemap and robots.txt

1.0.5(12mo ago)1445↓50%MITPHP

Since Jul 3Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/presprog/kirby-seo-plugin)[ Packagist](https://packagist.org/packages/presprog/kirby-seo-plugin)[ RSS](/packages/presprog-kirby-seo-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (23)Used By (0)

SEO Plugin for Kirby 4
======================

[](#seo-plugin-for-kirby-4)

This is our opionated take on a SEO plugin for Kirby 4. Edit meta descriptions and open graph data from within the panel – per page with a site-wide default – or programmatically.

[![A screenshot of the panel with three different link previews](/social-preview.png?raw=true)](/social-preview.png?raw=true)

Install
-------

[](#install)

Install with composer

```
composer require presprog/kirby-seo-plugin

```

Setup
-----

[](#setup)

Include the SEO **site** tab in your `site.yml` and the SEO **page** tab in all your page blueprints

```
# site.yml
tabs:
  seo: seo/tabs/site

# e.g. default.yml
tabs:
  seo: seo/tabs/page

```

The site tab includes `metadescription` and `ogimage` fields on your dashboard. These serve as fallback if a page does not have any metadata itself.

The page tab includes fields for meta title, description and Open Graph Image (share pic). You have three generic previews to see how your page being shared on different platforms may look. When you do not define these, the plugin fallsback to the page title and the fallbacks for decsription and Open Graph Image from `site.yml`.

Use in template
---------------

[](#use-in-template)

```
// in  of a page template
