Skip to content
Sign in

Search with Algolia Headless extension

Extension plugin for WP Search with Algolia.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

WP Search with Algolia can index your WordPress data into Algolia.
When using WordPress as a headless CMS, you need to replace the indices’ permalinks from the WordPress domain to your headless frontend domain.

This plugin automatically replaces WordPress URLs with your headless site URLs in Algolia indices.

Features:

  • URL Preview – See real-time preview of URL replacements in the settings page
  • Environment Variable Support – Configure domain via ALGOLIA_HEADLESS_DOMAIN constant in wp-config.php
  • Debug Logging – Track URL replacements when WP_DEBUG is enabled (logs stored securely in database)
  • Admin Notices – Helpful warnings for missing configuration
  • Site Health Integration – Check plugin status in WordPress Site Health
  • WP-CLI Support – Manage settings via command line
  • Security Focused – Proper escaping, validation, and secure logging

WP-CLI Commands:

  • wp algolia-headless status – View configuration status
  • wp algolia-headless set-domain <url> – Set headless domain
  • wp algolia-headless test <url> – Test URL replacement
  • wp algolia-headless logs – View debug logs (requires WP_DEBUG)
  • wp algolia-headless clear-logs – Clear debug logs

Written by Joobi from the project's own listing. See the source page

algoliaheadlesssearchwp-cli
27 Nov 2026
Version 0.2.0 released. Not scanned yet.

0.2.0

  • Add: Real-time URL preview in settings page
  • Add: Environment variable support (ALGOLIA_HEADLESS_DOMAIN constant)
  • Add: Debug logging system (stored securely in database)
  • Add: Admin notices for configuration issues
  • Add: Site Health integration
  • Add: WP-CLI commands (status, set-domain, test, logs, clear-logs)
  • Fix: Security improvements (proper escaping, ReDoS prevention)
  • Fix: Better error handling and validation
  • Improve: Code documentation and WordPress coding standards
  • Fix: A trailing slash in the headless domain no longer produces “//” in the indexed URLs
  • Fix: A port in the headless domain (e.g. http://localhost:3000) is kept
  • Fix: Only the host part of a URL is replaced, not the same text in its path or query string
  • Fix: A domain changed during the same request (e.g. WP-CLI before re-indexing) is used right away
  • Fix: wp algolia-headless logs now honours –lines and –level
  • Fix: wp algolia-headless set-domain and clear-logs now exist under the documented names (they were registered as set_domain / clear_logs)
  • Change: The text domain is now search-with-algolia-headless-extention (the WordPress.org slug) so translations from translate.wordpress.org can load
  • Change: Requires PHP 7.4 (the minimum of current WordPress). Tested up to WordPress 7.2
  • Dev: PHPUnit tests on wp-env, run on CircleCI

0.1.0

  • Initial release
25 Nov 2020Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)