SEO, Meta Tags and Sitemap
The module adds the meta tags and structured data Opensolr reads from your pages. Search engines and social networks read the same tags, so your SEO gets them too.
On every page of a crawled content type
Each tag is added only when your theme or another module has not set it already.
- Basics: canonical link, meta description, author and category.
- Open Graph:
og:title,og:description,og:url,og:type(article, or product for Commerce products),og:site_name, andog:imagewith its size and alt text. - Twitter Cards: card, title, description, image and its alt text.
- Article tags: published and modified time, section, the taxonomy tags and the author.
- Structured data (JSON-LD): an Article, or a Product with its offer (price and currency); and a BreadcrumbList of the categories when the page sits deeper than one level in your taxonomy.
- Your mapped fields, as
opensolr:meta tags, so a crawl fills your facet fields.
On every page of the site, whatever its type, the module also adds og:locale and the page language. See Multilingual search.
The sitemap
- At
/opensolr-sitemap.xml: every published item of the content types ticked on the Data Crawler tab, each translation under its own address, and the attached files if you included them. - Each entry has its address and its last change date.
- A large site is split in parts of 1000 addresses, listed by the main sitemap.
- It is built from your content each time it is read (a copy may be reused for up to 5 minutes), so there is nothing to regenerate.
Keeping the index in step
Unpublish or delete an item and it leaves your index right away. Save a published item and the next crawl reads it again; with real-time sync, it is sent at once.