Back to work
WordPress Plugin / GeolocationLocation-based WordPress plugin

Geolocation business-rule plugin

Location Radius Redirect Plugin

A WordPress plugin that redirects users based on configured radius rules, center points, shortcodes, and user actions.

Project summary

Built custom WordPress business logic that lets admins define multiple location/radius rules and apply redirect behavior through configured actions and shortcodes.

Admin-managed radius rules and action-based redirects inside WordPress.

Abstract map radius illustration for the location redirect plugin

Project summary

Rule model

Multiple center points

Usage model

Shortcodes + configured actions

Built custom WordPress business logic that lets admins define multiple location/radius rules and apply redirect behavior through configured actions and shortcodes.

Buyer-facing summary

Client problem

The site needed users to be redirected to a specific page or URL after a defined action if they were within a configured radius.

What I delivered

I built admin-managed location rules, multiple center point support, redirect configuration, shortcode usage, action triggers, and rule matching logic.

Business result

The location-based workflow became maintainable through WordPress admin instead of living as a fragile one-off snippet.

Problem

The visible behavior was simple: redirect a user when they are within a configured radius. The useful version of that feature needed admin control, multiple rules, and predictable placement.

A hard-coded snippet would have worked only until the first location or target URL changed. The better shape was a plugin that treated the logic as configurable business behavior.

The feature needed to remain specific to the intended action so normal browsing did not turn into unexpected redirect behavior.
Admins needed enough control to change rules without needing a developer for every location update.

What I built

Location rule management

Built admin configuration for center points, radius values, target pages or URLs, and the conditions under which the redirect should happen.

Multiple location support

Allowed more than one center point so the plugin could fit real business scenarios with multiple branches, service areas, or event locations.

Shortcode and trigger behavior

Kept the behavior controlled through shortcodes and configured actions instead of applying redirects globally across the whole site.

Admin interface for location/radius rulesMultiple center point supportRedirect URL/page configurationShortcode-based usageUser action trigger supportRule matching logic

Technical decisions

The plugin treats geolocation as a business-rule system: center points, radius values, trigger behavior, and target URLs are all explicit settings.
Shortcodes provide a controlled placement mechanism so the redirect logic can be attached to specific parts of the site.
The rule matching path stays separate from presentation so the admin configuration remains flexible.

The main design concern was predictability. Location-based redirects can feel broken if they fire at the wrong time, so placement and triggers matter as much as the radius calculation.

The admin model needed to expose enough control while still keeping the setup understandable for non-developers.

Outcome

The plugin converted a location-based workflow into maintainable WordPress configuration.
It is strong proof of custom plugin logic, geolocation workflows, admin configuration, shortcodes, and business-rule implementation.

What I would improve

If the rules become more complex, I would add clearer testing tools in the admin so owners can simulate coordinates before publishing changes.

That kind of preview becomes important once multiple rules can overlap.

Tech stack

WordPressPHPShortcodesAdmin RulesRadius Logic

Next step

If you need similar work, let’s talk through the constraints first.

The useful part of a project like this usually starts before code: understanding what the CMS should own, what should live in a backend service, and where integrations or automation can stay maintainable.

Start a conversation