Title: Local SEO By Ankit Rawat
Author: Ankit Rawat
Published: <strong>14 stycznia 2025</strong>
Last modified: 31 siyrpnia 2026

---

Search plugins

![](https://ps.w.org/local-seo-by-ankit-rawat/assets/banner-772x250.png?rev=3672059)

![](https://ps.w.org/local-seo-by-ankit-rawat/assets/icon-256x256.png?rev=3223299)

# Local SEO By Ankit Rawat

 By [Ankit Rawat](https://profiles.wordpress.org/ankitrawat/)

[Download](https://downloads.wordpress.org/plugin/local-seo-by-ankit-rawat.4.5.0.zip)

 * [Details](https://szl.wordpress.org/plugins/local-seo-by-ankit-rawat/#description)
 * [Reviews](https://szl.wordpress.org/plugins/local-seo-by-ankit-rawat/#reviews)
 *  [Installation](https://szl.wordpress.org/plugins/local-seo-by-ankit-rawat/#installation)
 * [Development](https://szl.wordpress.org/plugins/local-seo-by-ankit-rawat/#developers)

 [Support](https://wordpress.org/support/plugin/local-seo-by-ankit-rawat/)

## Description

Local SEO By Ankit Rawat generates LocalBusiness JSON-LD structured data for one
business or for many locations. You enter your business details once, or create 
a Location for each branch, and the plugin outputs a connected Schema.org entity
graph in the page `head`.

All processing happens on your own server. The plugin makes no outbound HTTP requests
from PHP, contains no telemetry, and does not require any external API key or subscription
service.

For more information, visit the [official Local SEO By Ankit Rawat website](https://ankitrawat.com/products/local-seo-by-ankit-rawat/).

#### Structured data

 * Sitewide LocalBusiness JSON-LD for LocalBusiness, Restaurant, Hotel, ProfessionalService,
   and Store.
 * A unified entity graph on location pages linking WebSite, Organization, WebPage,
   BreadcrumbList, and LocalBusiness through stable `@id` references.
 * Opening hours and special/holiday hours as `openingHoursSpecification`.
 * Optional WooCommerce Product JSON-LD on product pages.
 * When the type is Store and product schema is enabled, up to five published products
   are listed in an `OfferCatalog` on the front page, posts index, and WooCommerce
   shop.
 * A Schema Inspector that compiles and validates the generated graph in memory.
   No page is fetched over the network to do this.

#### Multiple locations

 * A **Locations** post type with per-location name, address, phone, email, coordinates,
   hours, service areas, and business type.
 * One location can be marked Primary; the plugin keeps that designation consistent.
 * Location pages with a theme-overridable template.
 * CSV import and export with a dry-run preview, deterministic matching, batched
   commits, crash recovery, and conflict-aware rollback.
 * An XML sitemap and a KML feed for published locations, plus integration with 
   the WordPress core sitemap.

#### Store locator and maps

 * `[lsar_store_locator]` shortcode and a matching block, with browser-local proximity
   search.
 * Maps use [Leaflet](https://leafletjs.com/), bundled locally with the plugin. **
   No Google Maps API key is required.**
 * The location list works without JavaScript.
 * Map tiles are requested by the visitor’s browser from a tile provider you configure.
   See **External Services** below.

#### Service-Area Businesses

If a location is marked as a Service-Area Business, the plugin withholds its street
address and exact coordinates from JSON-LD, the store locator, the REST API, the
KML feed, and the sitemap, and publishes the configured service areas instead. This
is intended for home-based and mobile businesses.

#### Diagnostics

These are advisory reports shown in wp-admin. They describe what is present in your
own content and settings.

 * **Local SEO Health**: completeness of your business details and structured data
   configuration.
 * **Content Quality**: word count, cross-location text similarity, information 
   completeness, and contradictions between page text and configured contact details.
 * **Entity Consistency**: disagreements between your stored location data, the 
   schema the plugin generates, and your page content.

These reports do not predict rankings and do not communicate with Google or any 
other search engine.

#### Shortcodes

    ```
    [lsar_store_locator], `[lsar_directory]`, `[lsar_location_directory]`, `[lsar_nearby_locations]`, `[lsar_opening_hours]`, `[lsar_business_status]`, `[lsar_location_status]`
    ```

#### What it does not do

 * No Google Business Profile / Google My Business API synchronization.
 * No importing of reviews or ratings from Google, Yelp, Facebook, or any other 
   platform.
 * No rank tracking, no citation building, and no directory submissions.
 * No AI content generation.
 * No guarantee of rankings, rich results, or search visibility. Structured data
   is an input to search engines; it is not a ranking promise.

#### Developer filters

    ```
    local_seo_by_ankit_rawat_schema, `local_seo_by_ankit_rawat_output_local_schema`, `local_seo_by_ankit_rawat_business_type`, `local_seo_by_ankit_rawat_location_entity_graph`, `local_seo_by_ankit_rawat_settings`, `local_seo_by_ankit_rawat_embed_store_catalog`, `local_seo_by_ankit_rawat_output_product_schema`, `local_seo_by_ankit_rawat_product_schema`, `local_seo_by_ankit_rawat_opening_hours_spec`
    ```

Use `local_seo_by_ankit_rawat_output_local_schema` to disable output if another 
SEO plugin already emits equivalent JSON-LD.

### External Services

This plugin relies on two external services. Neither is contacted by the plugin’s
PHP code; both are requested directly by a browser.

**1. Map tiles (public site)**

The store locator and location maps display map imagery loaded by your visitor’s
browser from a map tile provider. The default provider is [OpenStreetMap](https://www.openstreetmap.org/).

 * Default endpoint: `https://tile.openstreetmap.org/{z}/{x}/{y}.png`
 * Tiles are requested **only** on pages where you place a map or the store locator.
 * What is sent: your visitor’s IP address, browser user agent, and the map coordinates
   being viewed. This is sent by the browser to the tile provider, not by your server.
 * You can change or self-host the tile endpoint in **Local SEO  Map** settings.
   If you clear the tile URL, no map is rendered and no tile request is made.
 * OpenStreetMap [Terms of Use](https://osmfoundation.org/wiki/Terms_of_Use), [Tile Usage Policy](https://operations.osmfoundation.org/policies/tiles/),
   and [Privacy Policy](https://osmfoundation.org/wiki/Privacy_Policy) apply.

**2. Optional support link (admin only)**

The plugin’s settings page shows an optional „support the developer” image link 
to a payment page hosted by [Razorpay](https://razorpay.com/).

 * The link (`https://razorpay.me/@hridyaa`) appears **only** on the plugin’s own
   settings page in wp-admin, never on the public site.
 * **No external scripts are loaded.** It is a standard HTML anchor; no Razorpay
   JavaScript runs on your site.
 * Nothing is sent to Razorpay unless an administrator clicks the link. Payment 
   processing happens entirely on Razorpay’s site. The plugin never processes, stores,
   or transmits payment information.
 * Supporting development is voluntary and does not affect plugin functionality.
 * Razorpay [Terms of Service](https://razorpay.com/terms/) and [Privacy Policy](https://razorpay.com/privacy/)
   apply.

Aside from these, the plugin performs no outbound requests. Leaflet is bundled with
the plugin and is not loaded from a CDN.

### Troubleshooting

 * **Schema missing**: confirm „Enable schema” is checked and you are viewing the
   public site, not wp-admin.
 * **Location pages 404**: visit **Settings  Permalinks** once after adding your
   first location to flush rewrite rules.
 * **Map not showing**: confirm a tile URL is set in **Local SEO  Map**. If it is
   empty, no map is rendered by design.
 * **Product schema missing**: WooCommerce must be active, product schema enabled,
   and you must be on a product page.
 * **Store catalog missing**: business type must be Store, product schema enabled,
   published products must exist, and you must be on the front page, posts index,
   or shop.
 * **Submitted review not visible**: reviews are held as pending. Approve it, and
   ensure consent was given, before it appears publicly.

## Screenshots

[[

[[

[[

## Blocks

This plugin provides 6 blocks.

 *   Location Address
 *   Location Opening Hours
 *   Location Live Status
 *   Location Map
 *   Nearby Locations
 *   Location Directory

## Installation

 1. Upload the `local-seo-by-ankit-rawat` folder to `/wp-content/plugins/`, or install
    the ZIP from **Plugins  Add New  Upload Plugin**.
 2. Activate the plugin through the Plugins screen.
 3. Open **Local SEO By Ankit Rawat** in the admin menu.
 4. Enter your business details and enable schema output only when the data is accurate.
 5. To use multiple locations, enable multi-location mode and add entries under **Locations**.
 6. After adding locations, visit **Settings  Permalinks** once so location page URLs
    are registered.

## FAQ

### Do I need a Google Maps API key?

No. Maps use Leaflet, which is bundled with the plugin. Map tiles come from the 
provider configured in settings; the default is OpenStreetMap.

### Does this send my data anywhere?

The plugin’s PHP makes no outbound HTTP requests and includes no telemetry or analytics.
The only third-party requests are map tiles fetched by your visitors’ browsers on
pages that display a map, and the optional admin-only support link. Both are described
under **External Services**.

### How is a Service-Area Business handled?

Mark the location as a Service-Area Business. Its street address and exact coordinates
are then withheld from structured data, the store locator, the REST API, the KML
feed, and the sitemap. Configured service areas are published instead.

### Will my settings from earlier versions be kept?

Yes. Existing settings are read from the same option key used since 4.0.0 and are
not modified by this release. Values from 3.3 are copied on first admin load after
upgrade; the old keys are left in the database.

### Does upgrading from 4.1.0 change my existing schema output?

No. If you do not enable multi-location mode, the sitewide JSON-LD is produced by
the same code path and has the same shape as in 4.1.0. Multi-location features are
additive and stay off until you use them.

### How do I test the schema?

Use [Google’s Rich Results Test](https://search.google.com/test/rich-results) after
enabling schema and entering real business details. The plugin’s own Schema Inspector
checks structural validity only; it cannot tell you whether Google will show a rich
result.

### Does this slow the site down?

Diagnostics run in wp-admin, not on the public site. On the front end the plugin
adds JSON-LD, and adds CSS/JavaScript only on pages that use the store locator, 
a map, or a location template. Leaflet loads only where a map is rendered.

### Can this duplicate Yoast, Rank Math, or All in One SEO schema?

Yes, if both are configured to output LocalBusiness data. The plugin detects those
plugins and warns you. Use `local_seo_by_ankit_rawat_output_local_schema` or `local_seo_by_ankit_rawat_output_product_schema`
to disable this plugin’s output where another plugin already provides it.

### Where does the Store product catalog appear?

By default only on the front page, the posts index, and the WooCommerce shop. Product
pages already have Product JSON-LD. Use the `local_seo_by_ankit_rawat_embed_store_catalog`
filter to change placement.

### What happens to my data if I uninstall?

Uninstalling removes the plugin’s own settings and cached diagnostic reports. Your
Locations, their details, reviews, and services are stored as regular WordPress 
content and are **not** deleted.

## Reviews

![](https://secure.gravatar.com/avatar/fffbe4260bed77937f004446fc66ba4d54cb4b058a05b9fee73b0ff93fbffd11?
s=60&d=retro&r=g)

### 󠀁[Must Install](https://wordpress.org/support/topic/must-install-8/)󠁿

 [paprikamalsi](https://profiles.wordpress.org/paprikamalsi/) 11 września 2026

really helpful plugin!

![](https://secure.gravatar.com/avatar/1c64ac19e290f5de97dc48ccc8b5da1e634fa4be084be9f9ed99ee78a4b9c0cf?
s=60&d=retro&r=g)

### 󠀁[A Game-Changer for My Local Business!](https://wordpress.org/support/topic/a-game-changer-for-my-local-business/)󠁿

 [careersamachar](https://profiles.wordpress.org/careersamachar/) 12 września 2025

I am not a tech person. I run a small cafe, and the world of schema markup, JSON-
LD, and local business listings used to be absolute gibberish to me. I tried a few
other SEO plugins, but they were so complicated and bloated with features I didn't
need. Then I found Ankit Rawat's LocalSEO plugin. What a revelation! This plugin
is an absolute masterpiece of simplicity and power. It does one thing and does it
perfectly: it makes your WordPress site incredibly friendly to local search. Here’s
what I love: Setup was a Breeze: I had my business name, address, phone number (
NAP), hours, and even my menu schema set up in less than 10 minutes. The interface
is so intuitive; it holds your hand through the entire process without being condescending.
My Google Rankings SOARED: Within a month of installing this plugin, my café started
appearing in the "Local Pack" (the map results) for searches like "best coffee near
me" and "lunch cafe saket". That alone is worth ten times the price of the plugin.
The structured data it outputs is clean and exactly what Google wants to see. No
Bloat, Just Results: Unlike the huge, all-in-one SEO suites, this plugin is lightweight
and focused. It doesn't slow down my site. It just silently works its magic in the
background, making sure my local presence is optimized perfectly. Fantastic Support:
I had a small question about holiday hours, so I reached out. I got a personal, 
helpful response from what I believe was Ankit himself within a few hours. That 
level of care is unheard of! If you are a local business—a restaurant, a plumber,
a salon, a lawyer—and you want to get more customers from Google Search and Maps,
stop looking. LocalSEO by Ankit Rawat is the only plugin you need. It’s the best
investment I’ve made for my business all year. Do yourself a favor and install it
today. You can thank me later!

![](https://secure.gravatar.com/avatar/3fdba3c5f4d40f64dce20f10811d23cc6b4c771f97ea42d64ca878654161141c?
s=60&d=retro&r=g)

### 󠀁[Fantastic plugin!](https://wordpress.org/support/topic/fantastic-plugin-2043/)󠁿

 [Vatika](https://profiles.wordpress.org/vatikaretreat/) 14 lutego 2025

Easy to use. The setup is simple, and it provides all the tools needed to optimize
your site for local SEO. Highly recommend it for anyone looking to improve their
local visibility!

![](https://secure.gravatar.com/avatar/bbd6a06ab2f3bea3609a2c9bfe8aa668ad1fef7fd6bc789335fadec4015674e0?
s=60&d=retro&r=g)

### 󠀁[It works pefectly](https://wordpress.org/support/topic/it-works-pefectly-2/)󠁿

 [olistic](https://profiles.wordpress.org/olistic/) 4 lutego 2025

It works perfectly! This plugin truly delivers what it promises!

![](https://secure.gravatar.com/avatar/96c367dcfe9394d5f90f3c5a0277cb12e2455351275d8d891955699acd3eefac?
s=60&d=retro&r=g)

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-9484/)󠁿

 [wildhawk](https://profiles.wordpress.org/wildhawk/) 15 stycznia 2025 1 reply

The plugin works great! I was about to purchase a paid plugin when I discovered 
this one. It saved me money since it's completely free.

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/local-seo-by-ankit-rawat/reviews/)

## Contributors & Developers

“Local SEO By Ankit Rawat” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Ankit Rawat ](https://profiles.wordpress.org/ankitrawat/)

[Translate “Local SEO By Ankit Rawat” into your language.](https://translate.wordpress.org/projects/wp-plugins/local-seo-by-ankit-rawat)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/local-seo-by-ankit-rawat/),
check out the [SVN repository](https://plugins.svn.wordpress.org/local-seo-by-ankit-rawat/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/local-seo-by-ankit-rawat/)
by [RSS](https://plugins.trac.wordpress.org/log/local-seo-by-ankit-rawat/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 4.5.0

 * Added explicit search preview disclaimers to prevent unrealistic ranking expectations.
 * Refactored side diagnostic panels in location editor to intuitive business terminology(„
   Search Readiness”, „Profile Consistency”, „Content Quality”).
 * Simplified empty state and onboarding wizard descriptions to plain English.
 * Audited and verified competitor UX parity against Yoast Local SEO, Rank Math 
   Local, and AIOSEO Local.
 * Maintained full backwards compatibility, security invariants, and authoritative
   SAB address protection.

#### 4.4.0

 * Overhauled Location Editor with progressive, plain-language workflow („Where 
   do you serve customers?”, „Business & Contact Details”, „Where is your business?”).
 * Added interactive inline services and FAQs management directly inside the location
   editor.
 * Added „Copy Monday to all days” convenience button for rapid opening hours configuration.
 * Added live Search Presence preview simulation snapshot in the location editor.
 * Added reassuring post-save feedback notices with direct action links and soft
   missing information suggestions.
 * Added welcoming empty-state onboarding card on the Locations list screen.
 * Maintained hard backend privacy guardrail protecting Service-Area Business addresses
   and coordinates.

#### 4.3.0

 * Added streamlined goal-oriented admin navigation (Overview, Locations, Search&
   Sitemaps, Recommendations, Settings).
 * Added 5-second Overview Dashboard with core local SEO health status, location
   inventory breakdown, live sitemap owner, customer reviews, and prioritized actionable
   fixes.
 * Added welcoming first-run onboarding empty state for fresh installations.
 * Refactored admin terminology to plain, user-friendly language (Business & Contact
   Details, Profile Accuracy, Private Address Protection).
 * Added 3-tier progressive disclosure for advanced SEO diagnostics and telemetry.

#### 4.2.1

 * Added centralized Sitemap Ownership Manager with Automatic (Recommended), Always
   Use Local SEO, and Disable Local SEO modes.
 * Added intelligent sitemap coexistence yielding for Rank Math, Yoast SEO, AIOSEO,
   SEOPress, and The SEO Framework to prevent duplicate location sitemaps.
 * Added automatic sitemap recovery when competing SEO plugins are deactivated or
   configured to exclude locations.
 * Added WordPress Core sitemap post types deduplication filter.
 * Added Location Sitemap status card with live owner, location URL coverage, active
   URL links, and collapsible technical diagnostic telemetry.

#### 4.2.0

 * Added a Locations post type for managing multiple business locations, with per-
   location name, address, phone, email, coordinates, hours, service areas, and 
   business type.
 * Added a unified Schema.org entity graph on location pages linking WebSite, Organization,
   WebPage, BreadcrumbList, and LocalBusiness by stable `@id`.
 * Added `[lsar_store_locator]` and a matching block, with browser-local proximity
   search and locally bundled Leaflet. No Google Maps API key required.
 * Added location pages with a theme-overridable template, plus directory, nearby-
   location, opening-hours, and business-status shortcodes.
 * Added opening hours and special/holiday hours, output as `openingHoursSpecification`.
 * Added Service-Area Business support. Street address and exact coordinates are
   withheld from schema, the store locator, REST, KML, and sitemaps.
 * Added CSV import and export with dry-run preview, deterministic matching, batched
   commits, crash recovery, and conflict-aware rollback.
 * Added an XML sitemap and KML feed for published locations, plus WordPress core
   sitemap integration.
 * Added first-party review collection with moderation. Submitted reviews are held
   as pending and never appear publicly until approved. Only approved, consented
   reviews contribute to `AggregateRating`.
 * Added a REST API for locations, services, geography, reviews, and administrative
   operations. All mutating and administrative routes require `manage_options`; 
   single-location re-checks require `edit_post` on that location.
 * Added Local SEO Health, Content Quality, and Entity Consistency diagnostics in
   wp-admin.
 * Added a Schema Inspector that compiles and validates the entity graph in memory
   without fetching any URL.
 * Security: capped stored reviews per location and added a per-client cooldown 
   on anonymous review submission, preventing unbounded post meta growth.
 * Fixed: Service-Area Business coordinates are no longer emitted in `GeoCoordinates`.
 * Fixed: the location entity graph filter now runs exactly once per page render.
 * Fixed: deactivation now clears all scheduled events the plugin created.
 * Fixed: uninstall now removes all plugin-owned options while preserving Locations
   and their content.
 * Documented map tile loading as an external service.

#### 4.1.0

 * Redesigned settings screen with business-owner-friendly labels and help text.
 * Card-based settings interface grouped by Business Info, Location, Contact, and
   WooCommerce.
 * WordPress Media Library picker and preview for the business logo field.
 * Schema Health score: a deterministic 0–10 completeness indicator with actionable
   recommendations.
 * Schema Preview card with inline JSON-LD viewer, Copy JSON button, and Google 
   Rich Results Test link.
 * Detection of potential duplicate structured data from Yoast SEO, Rank Math, and
   All in One SEO.
 * Inline validation errors for logo URL, phone number, latitude, longitude, currency
   code, image URLs, and social profile URLs.
 * Dismissible activation admin notice guiding new users to the settings page.

#### 4.0.2

 * Fixed support button not rendering on hosts with JavaScript optimization (LiteSpeed
   Cache, etc.).
 * Replaced external Razorpay script embed with a simple payment link — no external
   JavaScript loaded.

#### 4.0.1

 * Verified WordPress compatibility; no code changes required.
 * Added optional support/donation link on the settings page.
 * Updated official product page URL.

#### 4.0.0

 * Namespaced settings option and 3.3 migration (legacy options are not deleted).
 * JSON-LD encoding uses JSON_HEX_TAG to prevent script breakout.
 * No placeholder NAP in public schema.
 * Allowlisted business types.
 * Store products emitted as OfferCatalog with ListItem entries (limit 5, published
   only).
 * GPL license file, uninstall handler, tests, and coding-standard configs.

#### 3.3

 * Compatibility fix.

## Meta

 *  Version **4.5.0**
 *  Last updated **3 miesiyncy ago**
 *  Active installations **30+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/local-seo-by-ankit-rawat/)
 * Tags
 * [local business](https://szl.wordpress.org/plugins/tags/local-business/)[local seo](https://szl.wordpress.org/plugins/tags/local-seo/)
   [multiple locations](https://szl.wordpress.org/plugins/tags/multiple-locations/)
   [schema](https://szl.wordpress.org/plugins/tags/schema/)[Store locator](https://szl.wordpress.org/plugins/tags/store-locator/)
 *  [Advanced View](https://szl.wordpress.org/plugins/local-seo-by-ankit-rawat/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/local-seo-by-ankit-rawat/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/local-seo-by-ankit-rawat/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/local-seo-by-ankit-rawat/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/local-seo-by-ankit-rawat/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/local-seo-by-ankit-rawat/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/local-seo-by-ankit-rawat/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/local-seo-by-ankit-rawat/reviews/)

## Contributors

 *   [ Ankit Rawat ](https://profiles.wordpress.org/ankitrawat/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/local-seo-by-ankit-rawat/)