Skip to content

Sync: Site url syncing error for multisite #7997

@enejb

Description

@enejb

Steps to reproduce the issue

Run the latest version of Jetpack and WP on a multi site withe the sub site setup.

  • have the following constants
define( 'WP_SITEURL', 'https://example.com' );
define( 'WP_HOMEURL', 'https://example.com' );

What I expected

That the sites would work as expected when interactiing with the API.

What happened instead

The sites returned the error jsonAPI not found.
the siteurl for the subsites was being synced as the main sites url.

cc @ebinnion.

Note that
define( 'JETPACK_SYNC_USE_RAW_URL', false );
fixed the issue for me.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions