SEO and SMO meta tags
Astro Plugins
These are the most popular plugins for the task:
- astro-seo β: This Astro component makes it easy to add tags 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"
with the following elements:
<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 sitemap URL in
robots.txt
(astro-robots-txt
) - Use the βupdated atβ date in the sitemap (so search engines would rescan those pages first)
- Maybe I can use BrainDb to generate it?