Update page SEO settings
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Hides one page from search engines or makes it visible again, and returns that page's settings as they now stand.
This endpoint changes only noindex and ignore_parent_noindex. The page's other fields, and every other page, keep their saved values. See which pages a hidden parent page covers with Get page visibility. Change a page's title, description, or image with Update SEO settings, which can also set noindex on several pages in one call.
A successful call means the setting is saved. The live site can take a little while to catch up.
<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>
Request
- Base URL: https://app.base44.com
- URL: https://app.base44.com/api/apps/{app_id}/seo/page-settings/{page_name}
- Auth: HTTP bearer
Path parameters
Name of the page, the same key it has in pages in Get SEO settings. That's the page's component name as it appears in the app's code, with any folder under pages in front of it, such as About or services/HouseWashing. The home page goes by its own name, such as Home, not /. The name is case-sensitive, and you can send its slashes as they are or encoded as %2F.
ID of the app whose SEO settings you want.
Request body
Example request
{
"noindex": true,
"ignore_parent_noindex": true
}Response
The page's settings after the change.
Example response
{
"result": {
"title": "Acme CRM",
"description": "Track leads and deals in one place.",
"og_image": "https://cdn.example.com/acme-og.png"
}
}Changes
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info
- info
added the new optional request property
- info