WORDPRESS

Local SEO By Ankit Rawat

Comprehensive LocalBusiness JSON-LD structured data generator for WordPress.

✓ 100% Free & Open Source ✓ Connected Schema Graph ✓ Zero-API Leaflet Maps
Local SEO By Ankit Rawat — WordPress Schema.org LocalBusiness structured data and multi-location architecture.
Product Capabilities Snapshot

Structured Local Search Infrastructure for WordPress

Generate unified Schema.org LocalBusiness structured data, manage multi-location entities, render Leaflet store locators with no Google Maps API keys required, and audit local content quality — with zero outbound PHP requests.

Schema Graph

Connected JSON-LD

Links WebSite, Organization, WebPage, and LocalBusiness nodes via deterministic @id entity references.

Multi-Location

Dedicated CPT & Overrides

Custom post type for branch landing pages with primary branch designation and theme-overridable templates.

Leaflet Maps

Browser-Local Engine

Browser-local mathematical proximity search with locally bundled Leaflet JS; no Google Maps API key or Google Cloud billing account required.

Privacy-First SAB

Address Withholding

Service-Area Business mode protects home addresses by withholding street NAP from public maps and feeds.

Why Structured Local Search Matters

Help search engines connect your locations to your organization

Search engines and AI assistants need machine-readable entity relationships to understand where your business operates, what services it offers, and when branches are open. Local SEO By Ankit Rawat outputs those signals cleanly.

1. Connected Knowledge Graph

Many plugins output fragmented, isolated schema blocks. Local SEO By Ankit Rawat links your WebSite, parent Organization, author Person entities, and LocalBusiness nodes together using deterministic @id URIs that search engines can traverse without ambiguity.

2. No Google Maps API Key or Billing Account Required

Traditional store locators require Google Cloud billing accounts and API keys that risk unexpected charges or broken maps when quotas expire. Our locator bundles Leaflet JS locally and calculates proximity in the visitor's browser with no Google Maps API key or Google Cloud billing account required.

3. Privacy for Service-Area Businesses

Home-based consultants, tradespeople, and mobile service businesses should not have their residential street addresses indexed publicly. SAB mode withholds street details while publishing configured regional service areas.

Core Practical Benefits

  • ✓
    Connect business entity schemas: Output LocalBusiness, Restaurant, Hotel, ProfessionalService, and Store JSON-LD.
  • ✓
    Manage unlimited branch locations: Dedicated custom post type with NAP, geocoordinates, and opening schedules.
  • ✓
    Deploy interactive store locator: Filter branches by proximity with no Google Maps API key or Google Cloud billing account required.
  • ✓
    Protect home address privacy: Full Service-Area Business (SAB) mode hiding exact coordinates.
  • ✓
    WooCommerce product catalog integration: Auto-embed OfferCatalog schema on key commercial pages.
  • ✓
    XML sitemaps & KML feeds: Dedicated location sitemaps integrated with WordPress core sitemaps.
  • ✓
    In-memory schema validator: Compile and inspect full JSON-LD graphs in wp-admin before publishing.
  • ✓
    Zero outbound PHP/API requests: Server-side PHP makes no external requests; browser-based maps may load tiles from OpenStreetMap or a configured tile endpoint.
Operational Workflow

How It Works

Setting up structured local search and store locator capabilities takes only minutes from your WordPress dashboard.

1

CONFIGURE

Set your organization profile, primary NAP, coordinates, and Schema.org business type.

2

PUBLISH

Add branch locations or service areas with custom hours, contacts, and photos.

3

INSPECT

Validate compiled entity graphs in memory using the in-admin Schema Inspector.

4

DISPLAY

Drop store locator and opening hours blocks/shortcodes into any page or theme.

Technical Architecture

Engineered for Correctness & Performance

Every feature is designed to comply with official Schema.org standards and Google Guidelines without adding bloat to your site.

Pillar 1 JSON-LD Graph

Connected Schema.org Entity Graph

Are business entities linked into a single cohesive graph?

Outputs deterministic JSON-LD linking WebSite, Organization, WebPage, and LocalBusiness nodes via stable @id identifiers.

  • Supports LocalBusiness, Restaurant, Hotel, ProfessionalService, Store, and subtypes
  • Opening hours and holiday schedules formatted as openingHoursSpecification
  • In-memory Schema Inspector compiles and validates graph in wp-admin
  • Developer filters to modify or yield schema when other plugins provide it
Pillar 2 Locations CPT

Multi-Location Management

Can multiple branch offices and stores be published cleanly?

Dedicated Locations post type for publishing branch landing pages with complete contact NAP and opening hours.

  • Per-location contact information, email, geocoordinates, and service radius
  • Primary location designation kept consistent across sitewide schema
  • Theme-overridable single-location.php and archive-location.php templates
  • Native REST API endpoints with manage_options permission guards
Pillar 3 Zero-API Maps

Zero-API Store Locator & Leaflet

Can visitors find nearby branches without Google Maps API keys?

Interactive store locator with proximity search calculated directly in the visitor's browser.

  • Locally bundled Leaflet JS — no Google Maps API key or Google Cloud billing account required
  • Mathematical proximity calculation in browser without server roundtrips
  • Browser-based maps may load tiles from OpenStreetMap or a configured tile endpoint
  • Graceful fallback to accessible HTML list when JavaScript is disabled
Pillar 4 Privacy Mode

Service-Area Business (SAB) Mode

Are home-based business addresses protected from public indexation?

Withholds physical street address and coordinates from public feeds for mobile and service-area businesses.

  • Withholds street address and exact latitude/longitude from JSON-LD schema
  • Hides private addresses from public store locators, REST endpoints, and sitemaps
  • Publishes configured named service areas (cities, postal codes, regions)
  • Engineered to align with Google Guidelines for Service-Area Businesses
Pillar 5 E-Commerce

WooCommerce & OfferCatalog

Does the plugin integrate with active WooCommerce stores?

Connects your physical store entities to product catalog structured data seamlessly.

  • Auto-generates Product JSON-LD structured data on WooCommerce product pages
  • Embeds up to 5 published store items as an OfferCatalog on main archives
  • Customizable via local_seo_by_ankit_rawat_embed_store_catalog filter
  • Ensures product schema nests cleanly into the parent Organization graph
Pillar 6 Quality Engine

Admin Diagnostics & CSV Pipeline

Can location data be audited and imported in bulk safely?

Comprehensive content quality diagnostics and robust CSV import/export pipeline with rollback.

  • Local SEO Health completeness score (0–10) evaluated in wp-admin
  • Content Quality checks for word count and cross-branch duplicate text
  • CSV bulk importer with dry-run validation preview, chunked batch processing, and rollback
  • Crash recovery and rollback mechanism for large branch datasets
Frontend Integration

Shortcodes & Template Tags

Display location directories, interactive maps, opening schedules, and real-time open/closed badges anywhere on your site.

Shortcode

[lsar_store_locator]

Renders the interactive Leaflet map, location search input, radius filter, and proximity-sorted directory list.

Shortcode

[lsar_directory]

Outputs a clean, responsive grid or list directory of all published business locations with contact details.

Shortcode

[lsar_nearby_locations]

Displays contextual nearby branches dynamically on single location pages to encourage local browsing.

Shortcode

[lsar_opening_hours]

Renders a structured weekly operating schedule, special holiday hours, and current live open/closed status.

Shortcode

[lsar_business_status]

Outputs an accessible dynamic open/closed badge calculated in real time against the server's timezone clock.

Technical Specifications & Compatibility

Designed for Lightweight Production WordPress

Built with modern object-oriented PHP and strict separation of concerns; no outbound PHP/API requests from your server, while browser-based maps may load tiles from OpenStreetMap or a configured tile endpoint.

Technical Specifications

Version 4.2.0
WordPress Requirement WordPress 6.0 through 7.1
PHP Requirement PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5
License GPL-2.0-or-later
Author Ankit Rawat

SEO Stack Coexistence

Includes duplicate structured data detection and developer filters to prevent overlapping markup when running alongside other SEO plugins:

Yoast SEO Rank Math All in One SEO SEOPress Slim SEO The SEO Framework

Server-Side Privacy & Map Tiles

PHP makes zero outbound HTTP/API requests, contains no telemetry, and transmits no private data to external servers. Browser-based maps may load tiles from OpenStreetMap or a configured tile endpoint.

Common Questions

Frequently Asked Questions

What is Local SEO By Ankit Rawat?
Local SEO By Ankit Rawat is a free WordPress plugin that generates connected LocalBusiness JSON-LD structured data for single and multi-location businesses. It includes an interactive Leaflet store locator, Service-Area Business (SAB) protections, WooCommerce product graph integration, location XML sitemaps, and in-admin content diagnostics.
Do I need a Google Maps API key or paid subscription?
No. Maps are powered by Leaflet JS bundled locally with the plugin. No Google Maps API key or Google Cloud billing account is required. Browser-based maps may load tiles from OpenStreetMap or your own configured tile endpoint. Proximity searching runs entirely in the visitor's browser.
Does the plugin make external network requests or track site visitors?
No outbound PHP/API requests are made from your server; all server-side logic runs locally on your WordPress host with zero telemetry and zero tracking. When visitors interact with the store locator, browser-based maps may load tiles from OpenStreetMap or a configured tile endpoint.
How does the plugin handle Service-Area Businesses (SABs)?
Flagging a location as a Service-Area Business withholds its street address and exact latitude/longitude coordinates from JSON-LD schema, store locator maps, REST APIs, and sitemaps. Configured service areas and cities are published instead, protecting privacy.
Can Local SEO By Ankit Rawat coexist with other SEO plugins?
Yes. The plugin includes automatic duplicate structured data detection and developer filters such as local_seo_by_ankit_rawat_output_local_schema to disable or customize output where needed.
What Schema.org business types are supported?
The plugin supports LocalBusiness, Restaurant, Hotel, ProfessionalService, Store, and standard Schema.org subtypes, complete with openingHoursSpecification and connected Organization/WebSite graphs.
How does CSV import and export work?
The CSV engine provides a preflight dry-run preview, deterministic matching, chunked batch processing, and rollback mechanisms for managing large location datasets safely.
Is Local SEO By Ankit Rawat free?
Yes. The plugin is 100% free and open-source software licensed under GPL-2.0-or-later, available directly on the official WordPress.org plugin directory.
Available on WordPress.org

Get Local SEO By Ankit Rawat

Deploy connected Schema.org LocalBusiness JSON-LD, manage multi-location directories, and render zero-API Leaflet store locators on your own server.

• Version 4.2.0 • GPL-2.0-or-later • No Outbound PHP Calls • No Google Maps API Key