Title Tags

5-10 minBeginner

In Strapi, you don't edit a 'Title' field by default. You must create a reusable 'SEO' component and attach it to your content types. This keeps your API clean and consistent.

Prerequisites

  • Admin Access
  • Development Environment (Content-Type Builder is disabled in Production)
Intermediate Recommended

Step 1: Create the SEO Component

Building the structure.

1

Open Builder

1

Log in to Strapi Admin.

2

Click Content-Type Builder in the left sidebar.

3

Click Create new component (under Components section).

2

Configure Component

1

Display Name: SEO.

2

Category: Shared (or create a new category called 'Metadata').

3

Click Continue.

3

Add Fields

1
  1. Click Text -> Name: metaTitle -> Short Text -> Finish.
2
  1. Click Add another field -> Text -> Name: metaDescription -> Long Text -> Finish.
3
  1. Click Add another field -> Media -> Name: shareImage -> Single Media -> Finish.
4

Click Save.

Verification Checklist

  • Check API Response