Skip to content

[Bug]: SEO title column shows identical/frozen titles for all pages when WP_ENVIRONMENT_TYPE is not production (WordPress Multisite) #23377

@monaalexandra

Description

@monaalexandra

Prerequisites

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened

Description:

In the Pages admin overview (/wp-admin/edit.php?post_type=page), the SEO title column shows the exact same title for every page — specifically the title of one particular page ("aaa Dummy – MDT travel"). This only occurs when WP_ENVIRONMENT_TYPE is set to local, staging, or development. Setting it to production immediately resolves the issue.

Step-by-step reproduction instructions

  1. Set up Yoast SEO on a WordPress Multisite installation
  2. Set define('WP_ENVIRONMENT_TYPE', 'local'); in wp-config.php
  3. Create multiple pages and assign individual SEO titles via the Yoast SEO metabox
  4. Navigate to Pages → All Pages in the WordPress admin
  5. Observe the "SEO title" column

Expected results

Each page displays its own individually configured SEO title, regardless of the environment type.

Actual results

All pages display the same frozen SEO title. Changes to individual titles are not reflected in the column. Switching to production fixes the display; switching back to local/staging/development freezes the titles again until the environment is toggled.

Screenshots, screen recording, code snippet

Image

Additional notes:

  • The bug affects all sites within the Multisite network
  • The issue is fully reproducible by toggling WP_ENVIRONMENT_TYPE between production and non-production values
  • Individual SEO titles are correctly entered and saved in the Yoast metabox
  • Rebuilding the SEO index (Yoast → Tools → "Optimize SEO data") did not resolve the issue
  • A screenshot of the affected admin overview is attached

Which editor is affected (or editors)

  • Block Editor
  • Gutenberg Editor
  • Elementor Editor
  • Classic Editor
  • Other (please specify in additional info)

Which browser is affected (or browsers)

  • Chrome
  • Firefox
  • Safari
  • Other (please specify in additional info)

Device you are using

Desktop

Operating system

Mac 26.5.1

PHP version

8.5

WordPress version

7.0

WordPress Theme

No response

Yoast SEO version

27.8

Gutenberg plugin version (if relevant)

No response

Elementor plugin version (if relevant)

No response

Classic Editor plugin version (if relevant)

No response

Relevant plugins in case of a bug

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions