/** * Plugin Name: Canna Corner - Structured Data Owner * Description: Declares Rank Math as the single owner of structured data on cannacorner.co. * Version: 1.0 * * Verified live 2026-09-17: the homepage was emitting FIVE JSON-LD blocks * containing THREE Organization nodes and THREE WebSite nodes for one business. * Two of each had no @id, so Google cannot merge them with Rank Math's * #organization / #website - it sees several separate entities on one site. * * universal-schema-enhancer.php was standing down only for OSBS_SCHEMA_OWNER, * a constant that exists solely on onestopbudshop.com, so it ran here and * emitted an Organization on every page plus a WebSite on the front page (and a * duplicate Product on every product page). * * 000- prefix is deliberate: mu-plugins load alphabetically and ALL of them load * before regular plugins, so checking Rank Math's own constants at mu-plugin * file scope never works. The constant has to be defined by a file that sorts * earlier than universal-schema-enhancer.php. */ if (!defined('ABSPATH')) exit; if (!defined('SITE_SCHEMA_OWNER')) { define('SITE_SCHEMA_OWNER', 'rank-math-pro'); }