WORDPRESS INTEGRATION

Wordpress Integration

Render WordPress posts, archives, and menus natively inside your Magento 2 storefront. No database tables, no iframes, no subdomain redirect. Full Magento theme integration with automatic cache management and SEO metadata pulled directly from Yoast or RankMath.

WordPress Integration for Magento 2

Most Magento stores that run a blog end up with one of two bad options: a bolted-on blog editor that nobody on the marketing team wants to learn, or a WordPress installation on a subdomain that search engines treat as a separate site. This module does neither. It keeps WordPress as the content system your marketing team already knows and renders posts, archives, categories, and menus directly inside your Magento storefront. Same domain, same theme, same navigation as the rest of your store.

No database tables. No migrations.

Content lives in WordPress. This module fetches it from the WordPress REST API and caches it in Magento's native cache backend. There are no Magento database tables, no schema changes, and nothing to debug on upgrade day. Install, configure, connect, and it works.

For agencies running multiple Magento upgrades a year, this matters. Schema conflicts from third-party modules are a known source of upgrade pain. There is nothing here that can conflict.

The cache stays current automatically

The included OC Magento Bridge plugin sends a signed webhook to Magento every time content is published or updated in WordPress. Magento purges the affected cache entries immediately. Your visitors see the updated post the moment it goes live, not 30 minutes later when a TTL expires.

A background cache warmer pre-fetches posts every 4 hours, so first-page loads stay fast even after a purge. Cache lifetimes are configurable per content type: posts default to 30 minutes, categories and tags to 24 hours.

Your WordPress SEO work carries over

If your WordPress site uses Yoast SEO or RankMath, the module reads those meta titles, descriptions, Open Graph tags, Twitter Cards, and robots directives and injects them into the Magento page. Your content team sets SEO metadata once, in WordPress, and it appears correctly on the storefront without anyone touching Magento.

Canonical tags are included, so Google does not see your WordPress origin and your Magento blog URL as duplicate content.

Embed content anywhere with CMS widgets

Three widgets let you place blog content on any Magento CMS page or block without writing code:

Recent Posts: Configurable count, thumbnails, date display, and category filter. Works on homepages, sidebars, and product pages.

Featured Post: Spotlights a specific post by ID, or the latest from a category.

Category Posts: Grid or list layout from any WordPress category. Useful for campaign landing pages that need relevant content.

All three are available in the Magento widget inserter under Content > Pages and Content > Blocks.

What's included

  • Post listing, single post, category archives, tag archives, author archives, paginated listings, and blog search under your configurable base path (default: /blog)
  • WordPress menu rendering inside Magento
  • Automatic internal link rewriting from WordPress URLs to Magento blog URLs
  • Lazy loading applied to all images in post content
  • WordPress shortcode cleanup
  • Breadcrumbs on all blog pages
  • HMAC-SHA256 webhook signature verification for cache purge requests
  • Magento ACL for admin access control
  • Store-scoped configuration (run different WordPress instances per store view)
  • Dedicated log at var/log/ocmlabs_wordpress.log

Requirements

  • Magento 2.4.x (Open Source or Commerce)
  • PHP 8.1 or higher
  • OC Magento Bridge WordPress plugin (included with purchase)

Installation

bash
composer require ocmlabs/module-wordpress
bin/magento module:enable OCMLabs_WordPressIntegration
bin/magento setup:upgrade
bin/magento cache:flush

Enter your WordPress URL and API key in Stores > Configuration > OCMLabs > WordPress Integration, click Test Connection, and you're done.


Notes for the product page

Headline options to test:

  1. WordPress Content in Your Magento Store. No Subdomain, No Duplicate Database.
  2. Your Marketing Team Stays in WordPress. Your Blog Lives on Your Store.
  3. A Magento Blog That Actually Works With Your Marketing Team

Short descriptor (for hero section or meta description): Render WordPress posts, archives, and menus inside your Magento 2 storefront. No database tables. Automatic cache management. SEO metadata from Yoast or RankMath, no re-entry required.

IN THE STORE & IN THE ADMIN

See it working.

INSTALLATION

Two commands. Like it should be.

YOUR-STORE - TERMINAL
# keys provisioned to your dashboard at purchase
$ composer require ocmlabs/module-wordpress
$ bin/magento setup:upgrade
OCM Labs guarantee stamp

THE OCM LABS LICENSE

Your code. Your keys.

SOURCE CODEFULL ACCESS, UNENCRYPTED, FOREVER
DELIVERYCOMPOSER · PRIVATE PACKAGIST
AT EXPIRYFROZEN AT YOUR LAST VERSION - NEVER REVOKED
UPDATES12 MONTHS INCLUDED · RENEW WHEN YOU WANT
KILL SWITCHTHERE ISN'T ONE

Support & Documentation

Need more help?

Our support team typically responds within 1 business day.

Contact Us