page.setSearchTitle(title)

Set the search title of the page.

Syntax

1page.setSearchTitle(title: string): Promise<null>;

Parameters

  • title: string - The search title of the page.

Returns

Promise<null>

A Promise that resolves to null.

Example

1// Get Current Page
2const currentPage = await webflow.getCurrentPage() as Page
3
4// Set search engine title and print details
5await currentPage.setSearchTitle("My New Title")
6const searchTitle = await currentPage.getSearchTitle()
7console.log(searchTitle)

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canManagePageSettingsAnyAnyAnyAny
Built with