Seo User Config Object


Site-level SEO configuration.

Controls URL structure and non-existent page behavior to optimize how search engines index and resolve a site's pages.

Properties
createdDatestringRead-onlyformat date-time

Date and time the SEO configuration was created.


idstringRead-onlyformat GUID

SEO configuration ID.


revisionstringRead-onlyformat int64

Revision number, which increments by 1 each time the SEO configuration is updated. To prevent conflicting changes, the current revision must be passed when updating the SEO configuration.

Ignored when creating an SEO configuration.


shouldFlattenUrlHierarchyboolean

Whether to flatten page URLs.

When true, all pages use flat URLs regardless of their position in the page hierarchy. For example, a subpage at /parent/child-page is accessible at /child-page. When false, page URLs reflect the full parent-child hierarchy.

This setting only affects URL structure, it doesn't change the physical page hierarchy in the site's page tree.

Default: false


shouldUsePartialRouteMatchboolean

Whether non-existent pages return a 200 status code instead of a 404.

When false, requests to non-existent pages return an HTTP 404 status code. This setting is the SEO-recommended behavior that correctly signals missing pages to search engines.

When true, non-existent page requests return a 200 status code. Avoid this setting unless you have a specific SEO reason, as it prevents search engines from correctly detecting missing pages.

Default: false for sites created on or after September 1, 2024. true for sites created before that date.


updatedDatestringRead-onlyformat date-time

Date and time the SEO configuration was last updated.

Did this help?