Local SEO By Ankit Rawat

Descripción

Local SEO By Ankit Rawat adds JSON-LD structured data for a single business location. You enter name, address, phone, geo coordinates, logo, images, social profile URLs, and price range. When schema is enabled, those values are printed in the site head as application/ld+json.

For more information, visit the official Local SEO By Ankit Rawat website.

This plugin does not connect to Google Business Profile, import reviews, manage opening hours, or change canonical URLs or robots directives.

What it does

  • Settings screen (capability: manage_options) for one business profile.
  • Optional sitewide LocalBusiness-family JSON-LD for: LocalBusiness, Restaurant, Hotel, ProfessionalService, Store.
  • Optional WooCommerce Product JSON-LD on product pages (any business type, when WooCommerce is active and the setting is on).
  • When the type is Store and product schema is enabled, up to five published products are listed in a Schema.org OfferCatalog (hasOfferCatalog with ListItem entries) on the front page, the posts index (home), and the WooCommerce shop. The catalog is not added on every URL.

Developers can change catalog placement with the local_seo_by_ankit_rawat_embed_store_catalog filter. Version 3.3 attached an invalid product property on essentially every URL; 4.0.0 does not restore that structure.

What it does not do

  • Google Business Profile / Google My Business API synchronization.
  • Review collection, aggregation, or review schema from manually entered ratings.
  • Opening hours, menus, reservations, or hotel amenity schema.
  • Multiple locations.
  • Frontend widgets, shortcodes, or extra CSS/JS on the public site.

Developer filters

See docs/ARCHITECTURE.md for hook names. You can disable output if another SEO plugin already emits equivalent JSON-LD. Catalog placement is controlled with local_seo_by_ankit_rawat_embed_store_catalog (default: front page, home, and shop).

Upgrade From 3.3

  1. Back up the database.
  2. Install 4.0.0 over 3.3 (same plugin folder).
  3. Activate or open wp-admin so migration can run.
  4. Confirm settings on the Local SEO screen.
  5. Do not expect Google Business Profile sync; it was never implemented.

Troubleshooting

  • Schema missing: confirm “Enable schema” is checked and you are viewing the public site, not wp-admin.
  • Product schema missing: WooCommerce must be active, product schema enabled, and you must be on a product page. The setting is shown whenever WooCommerce is active, for any business type.
  • Store catalog missing: business type must be Store, product schema enabled, published products must exist, and you must be on the front page, home, or shop (unless a filter changes placement).
  • Stale 3.3 schema: the old local_seo_json_ld_schema transient is deleted during migration.

External Services

This plugin includes an optional «support the developer» link on its admin settings page. When clicked, it opens an external payment page hosted by Razorpay.

  • The link (https://razorpay.me/@hridyaa) appears only on the plugin’s own settings page, not on the public site.
  • No external scripts are loaded. The link is a standard HTML anchor; no JavaScript from Razorpay runs on your site.
  • Payment processing is handled entirely by Razorpay. The plugin does not process, store, or transmit payment information.
  • Supporting development is completely voluntary and does not affect plugin functionality.
  • Razorpay’s Terms of Service and Privacy Policy apply to any payment made through the link.

Capturas

Instalación

  1. Upload the local-seo-by-ankit-rawat folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins screen.
  3. Open Local SEO By Ankit Rawat in the admin menu.
  4. Enter business details and enable schema only when the data is accurate.

Preguntas frecuentes

Will my 3.3 settings be kept?

Yes. On first admin load or activation after upgrade, values are copied into local_seo_by_ankit_rawat_options. The old option keys remain in the database.

Why is my Google API key missing from the new screen?

Version 3.3 stored google_my_business_api_key but never used it. 4.0.0 does not copy that secret into the new option and does not display it. The old option is left in the database until you delete it yourself.

How do I test the schema?

Use Google’s Rich Results Test after enabling schema and filling in real NAP data.

Does this slow the site down?

There is no frontend CSS or JavaScript. Schema is built from one option (and, for Store catalogs, up to five WooCommerce product queries). Version 3.3’s hour-long transient was removed because it served stale data after settings changes.

Where does the Store product catalog appear?

By default only on the front page, the posts index (home), and the WooCommerce shop. Product pages already have Product JSON-LD and do not receive the catalog. To change that, use the local_seo_by_ankit_rawat_embed_store_catalog filter.

Can this duplicate Yoast, Rank Math, or WooCommerce schema?

Yes. Use the local_seo_by_ankit_rawat_output_local_schema and local_seo_by_ankit_rawat_output_product_schema filters to turn off this plugin’s output when another plugin already provides it.

Reseñas

12 de septiembre de 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!
14 de febrero de 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!
15 de enero de 2025 1 respuesta
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.
Leer todas las 3 reseñas

Colaboradores y desarrolladores

«Local SEO By Ankit Rawat» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Local SEO By Ankit Rawat» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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 7.1 compatibility (no code changes required; Settings API, Options API, and wp_head output are unaffected by 7.1 changes).
  • Added optional support/donation button on the settings page (voluntary, powered by Razorpay).
  • Updated official product page URL.
  • Cleaned development artifacts from repository.

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.
  • WooCommerce detection no longer uses woocommerce_params.
  • Store products emitted as OfferCatalog with ListItem entries (limit 5, published only) on the front page, home, and shop by default.
  • Documentation matches actual features.
  • GPL license file, uninstall handler, tests, and coding-standard configs.

3.3

  • Compatibility fix.

3.2

  • WooCommerce product schema and modular file layout.

3.1

  • Sanitization and caching tweaks.

3.0

  • Geo fields and unused Google My Business settings fields.