SEO and SMO meta tags
Astro plugins
Those are the most popular plugins for the task:
- astro-seo ↗ This Astro component makes it easy to add tags that are relevant for search engine optimization (SEO) to your pages.
- @astrolib/seo ↗ Astro SEO is an integration that makes managing your SEO easier in Astro projects. It is fully based on the excellent Next SEO library
- astro-seo-meta ↗ Astro seo provides an Seo component to update meta tags.
- astro-seo-schema ↗ Easily insert valid Schema.org JSON-LD in your Astro apps.
Metadata
type: NewsArticle
-
Install dependencies
-
Add
Schema
toHead
-
Change Astro config
type: Article
Try "@type":"Article"
plus:
<article>
<span itemprop="dateModified" content="2020-Mar-13">
<h1 itemprop="name">...</h1>
<div itemprop="articleBody">...</div>
Sites to test meta tags
TODO
- plugin that places sitempa URL in
robots.txt
(astro-robots-txt
) - use updated at date in sitemap (so search engine would rescan those pages first)