Skip to content

SEO Configuration

The SEO group controls how Magento handles page titles, meta descriptions, and Open Graph tags for blog pages.

Admin path: Stores > Configuration > Orange Collar > WordPress Integration > SEO

When enabled, Magento pulls SEO metadata from the WordPress oc-bridge /seo/{post_id} endpoint and applies it to the page. This endpoint returns data from Yoast SEO or RankMath if either plugin is active, otherwise it falls back to WordPress core metadata.

Priority order: Yoast SEO -> RankMath -> WordPress core title and excerpt

The following metadata is applied:

  • <title> - meta title
  • <meta name="description"> - meta description
  • <meta name="robots"> - robots directives
  • Open Graph tags (og:title, og:description, og:image, og:type)
  • Twitter Card tags (twitter:card, twitter:title, twitter:description, twitter:image)
  • JSON-LD Article schema

The <title> value used on the blog listing page (not individual posts - those use WordPress titles when SEO meta is enabled).

  • Default: Blog

The <meta name="description"> value for the blog listing page.

Controls how post URLs are formatted. Options:

OptionExample URL
Post Name (default)/blog/my-post-slug
Date and Name/blog/2024/01/15/my-post-slug

The Router in Magento strips date-based URL prefixes from WordPress links when rewriting internal links, so content links work regardless of this setting.

The SeoPlugin class intercepts Magento’s page rendering and injects metadata before the <head> is output. It only fires on blog pages (checked via the current layout handle). If the WordPress API call for SEO data fails (e.g., WordPress is temporarily unreachable), Magento falls back to its own page title and meta tags gracefully.

The BreadcrumbPlugin adds blog breadcrumbs automatically:

  • Blog listing: Home > Blog
  • Post view: Home > Blog > Category > Post Title
  • Category view: Home > Blog > Category Name
  • Tag view: Home > Blog > Tag Name
  • Author view: Home > Blog > Author Name