Easy SEO for your Statamic sites
- General sitewide SEO tags
- Page specific SEO tags
- Title, Description, Social Title, Social Description and Social Image
You can search for this addon in the Tools > Addons
section of the Statamic control panel and click install, or run the following command from your project root:
composer require alt-design/alt-seo
In layout.antlers.html remove your <title>
and SEO tags and replace with
{{ alt_seo:meta }}
You can also just use the following to output the title if you prefer
{{ alt_seo:title }}
The addon will look for data in the following order:
- Page specific SEO tags
- General sitewide SEO tags
- Defaults back to Site Name
For General/Site Wide SEO Tags Select Alt SEO from the Tools section in CP where you can set a general SEO Title and Description for the site. In the Social tab you can set the Title, Description and Image for Facebook and Twitter.
For Page Specific SEO Tags go to Collections > Pages > select your page and in the Alt SEO Tab you can set Title, Description, Social Title, Social Description and Social Image to override the general settings on that page.
You can use variables such as {title} | {site_name}
App name and url are taken from .env file so ensure this data is correct. Images must be stored in assets container.
Drop us a big shout-out if you have any questions, comments, or concerns. We're always looking to improve our addons, so if you have any feature requests, we'd love to hear them.
Also - check out our other addons!
- Alt Cookies Addon
- Alt Redirect Addon
- Alt Akismet Addon
- Alt Inbound Addon
- Alt Sitemap Addon
- Alt Password Protect Addon
Send us a postcard from your hometown if you like this addon. We love getting mail from other cool peeps!
Alt Design
St Helens House
Derby
DE1 3EE
UK