On this page

SEO

The seo collection is a single-entry collection that provides built-in search engine optimization features for page-like collections.


Definition

The collection includes the following fields:

FieldTypeDescription

baseUrl

The base URL of the website (e.g., https://example.com) used to create SEO-friendly URLs in the <head> tag of the document, where relative paths are not permitted.

baseTitle

Text displayed in browsers before or after the regular page title (e.g., Page Title | Base Title).

titleSeparator

Characters used to separate the page title and base title.

baseTitlePosition

The position of the base title relative to the page title.

visible

Discourage search engines from indexing the entire website.

sharingImage

An image that appears when someone shares a page link on a social network. The optimal image size is 1200 × 630 pixels.

logo

The organization logo shown in search results and in the Google knowledge panel.

favicon

A small square image that appears next to the URL in a browser's address bar.

socialMediaMeta

Specifies whether to auto-generate og and twitter meta tags based on the current page title, description, and URL.

metaTags

An array of default <meta> tags used on all pages. Values entered here will override other auto-generated meta tags.

scripts

List of external scripts or inline JS code that can be placed in different positions on all pages of the website.

language

The language code associated with this collection record. Learn more about translations here.

createdAt

Automatically generated timestamp indicating when the SEO settings were created.

updatedAt

Automatically generated timestamp indicating when the SEO settings were last updated.

id

Unique identifier of the record.

Check out the collection definition on GitHub for more details.

Last updated on January 9, 2024 at 14:02