Blaze Redirects

ຄຳອະທິບາຍ

Blaze Redirects is a fast, lightweight redirect manager for WordPress. It uses a cache-first router that runs zero database queries on a cache hit, so redirect matching is nearly instant. The admin interface is clean and tabbed, keeping everything in one place.

It covers simple 301 redirects, complex conditional rules, a built-in link shortener, and a full 404 monitoring dashboard.

Why Blaze Redirects?

  • Cache-first routing: zero DB queries on cache hit, with object cache and transient fallback
  • No bloat: assets load only on the plugin’s own admin pages
  • REST API with automatic wp_ajax fallback if REST is disabled
  • Import from Redirection plugin: switch without losing your existing rules
  • SEO-safe: correct 301/302/307/308/410/451 headers, regex support, and auto-monitoring for slug changes

Redirect Types & URL Matching

  • HTTP codes: 301, 302, 307, 308, 410, 451
  • URL matching: Exact, Regex (PCRE), Wildcard (*)
  • Priority system to resolve conflicts when multiple rules match
  • Auto-create redirects when post or term slugs change

Conditional Redirects

Apply rules only when specific conditions are met. You can combine any number of conditions:

  • Login status or user role
  • Device type (mobile / tablet / desktop)
  • Country via GeoIP (MaxMind GeoLite2, free tier available)
  • IP address or CIDR range
  • HTTP referrer, cookie, or request header
  • Day of week or time of day

Scheduled Redirects

Set an optional start date/time, end date/time, or both. Schedules run via WP-Cron with no server cron setup required.

404 Monitor & Intelligence

  • Full 404 log with URL, method, referrer, browser, IP, and timestamp
  • Fuzzy-match suggestions: one click turns a 404 into a redirect
  • Bulk-create redirects from selected 404 entries
  • Email & webhook alerts when 404 rate spikes past a configurable threshold

Custom 404 Page Builder

Design your own 404 page with a visual block editor — no code, no theme edits:

  • Blocks: built-in SVG illustrations (ghost, planet, rocket), gradient or solid headings, text, images, buttons (solid / outline / ghost), search box, quick-link chips, divider, spacer and footer with {site} / {year} placeholders
  • Page styling: gradient background with angle control, accent color, four font stacks, optional glassmorphism card (opacity, radius, width, padding) and a Media-Library background image
  • RTL-ready: page direction (auto / LTR / RTL) plus per-block text direction for Persian, Arabic and other RTL languages
  • Drag & drop reordering with a per-block toolbar (duplicate, move, delete) and inline text editing
  • Floating, closable “Block settings” bar that sticks to the top while you scroll
  • Undo / Redo (Ctrl+Z / Ctrl+Y), Ctrl+S to save, unsaved-changes indicator
  • Live preview button; a professional default design is always active as a fallback
  • SEO-safe: served with a real 404 status plus noindex meta tag and X-Robots-Tag header
  • Visits are still logged under 404 Errors, so you can redirect them later

Built-In Link Shortener

  • Generates /go/slug short URLs (prefix configurable in Settings)
  • Auto-generate or set a custom slug
  • Per-link hit counter
  • Works correctly in subdirectory WordPress installs

Analytics Dashboard

  • 4 stat cards with trend comparison vs. previous period ( badges)
  • Daily traffic chart showing redirects vs. 404 errors, with gap-fill
  • Top Redirects table and Top 404 URLs table
  • Period selector: 7 days / 30 days / 90 days
  • Powered by Chart.js (loaded only on the Analytics tab)

Groups

Organise redirects into named groups. Live redirect count badge links directly to the filtered Redirects tab.

Import / Export

  • Import: CSV, JSON (native or Redirection plugin format), Apache .htaccess
  • Export: CSV, JSON, Apache .htaccess, Nginx rewrite rules, WP-CLI commands

Developer Tools

  • REST API at /wp-json/blaze-redirects/v1/ with full CRUD support
  • WP-CLI: wp blaze-redirects list|add|delete|import|flush-cache
  • Async 404 logging via queue buffer WP-Cron (avoids write bottlenecks)
  • PSR-4 autoloader with no Composer dependency and zero global namespace pollution
  • Multisite network-activation support (per-site redirect tables)

Admin Interface

One sidebar item. All navigation is done via horizontal tabs:

Redirects · 404 Errors · 404 Page · Groups · Short Links · Analytics · Import/Export · Settings · Tools

Modern card-based UI, fully responsive, accessible checkboxes and keyboard navigation throughout.

ການຕິດຕັ້ງ

From the WordPress Plugin Directory

  1. Go to Plugins Add New in your WordPress admin
  2. Search for Blaze Redirects
  3. Click Install Now, then Activate
  4. Click Blaze Redirects in the admin sidebar

Manual Installation

  1. Download the plugin ZIP
  2. Go to Plugins Add New Upload Plugin
  3. Upload the ZIP and click Install Now, then Activate

Minimum Requirements

  • WordPress 6.0 or higher
  • PHP 8.0 or higher
  • MySQL 5.7 / MariaDB 10.3 or higher

Optional

  • MaxMind GeoLite2-Country.mmdb for country-based redirects (set the file path under Settings GeoIP)
  • Object cache plugin (e.g. Redis Cache) for the fastest possible cache hit

ຄຳຖາມທີ່ພົບເລື້ອຍ

Will this slow down my site?

No. Redirect matching runs from in-memory object cache or transient. On a cache hit, zero database queries are executed. Admin assets are enqueued only on the plugin’s own pages.

Does it work with the REST API disabled?

Yes. The admin detects REST API availability at runtime and automatically falls back to wp_ajax for every request.

Can I import from the “Redirection” plugin?

Yes. Export your data from Redirection as JSON and import it under Import/Export Import (select JSON format). All rules and groups are preserved.

Does it support GeoIP country redirects?

Yes. Obtain a free MaxMind GeoLite2-Country.mmdb file and set its absolute server path under Settings GeoIP. GDPR note: disclose GeoIP processing in your privacy policy.

How does the link shortener work?

The plugin registers a URL pattern (/go/{slug} by default) on init and handles matching requests before WordPress processes them. The prefix can be changed under Settings Link Shortener or directly from the Short Links tab.

Is it multisite compatible?

Yes. The plugin is network-activatable. Each site in the network manages its own redirect table independently.

Is it compatible with caching plugins?

Full-page caching plugins cache the final HTTP response, which in this case is the redirect header itself (3xx). Blaze Redirects uses its internal cache only for redirect matching, not for full-page output, so the two work alongside each other without conflict.

What HTTP redirect codes are supported?

301 (Moved Permanently), 302 (Found / Temporary), 307 (Temporary Redirect, method-safe), 308 (Permanent Redirect, method-safe), 410 (Gone), 451 (Unavailable for Legal Reasons).

ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Blaze Redirects” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

ແປ “Blaze Redirects” ເປັນພາສາຂອງເຈົ້າ.

ສົນໃຈຮ່ວມພັດທະນາບໍ່?

ເບິ່ງລະຫັດ, ກວດເບິ່ງ ຄັງເກັບ SVN, ຫຼື ຕິດຕາມ ບັນທຶກການພັດທະນາ ຜ່ານ RSS.

ບັນທຶກການປ່ຽນແປງ

1.2.0 — 2026-08-30

  • Feature: Custom 404 Page Builder — new “404 Page” tab with a visual block editor. Design your 404 page with built-in SVG illustrations (ghost / planet / rocket), gradient headings, text, images, buttons (solid / outline / ghost), search box, quick-link chips, divider, spacer and a footer with {site} / {year} placeholders
  • Feature: Page styling — gradient background with angle control, accent color, four font stacks, glassmorphism card layout (opacity / radius / width / padding) and a Media-Library background image
  • Feature: Full RTL support — page direction (auto / LTR / RTL) plus per-block text direction for Persian, Arabic and other RTL languages
  • Feature: A professional default 404 design is always active as a fallback; the page never renders empty
  • UX: Drag & drop block reordering, per-block toolbar (duplicate / move / delete) and inline text editing
  • UX: Floating “Block settings” bar at the top of the screen — closable with ✕, reappears when a block is picked, sticks while scrolling
  • UX: Undo / Redo (Ctrl+Z / Ctrl+Y), Ctrl+S to save, unsaved-changes indicator with leave-guard
  • UX: Live preview button; old (pre-1.2) designs are detected with a one-click “apply new design” option
  • SEO: Custom 404 is served with a real 404 status, noindex meta tag and X-Robots-Tag: noindex, follow header; default quick links no longer point to non-existent pages
  • Security: All design fields sanitized server-side (hex-only colors, whitelisted URLs, integer ranges), block count capped, unique block IDs enforced, blazer_404_page option removed on uninstall; REST endpoints gated by manage_options + wp_rest nonce
  • Fix: PHP warning “Undefined array key align” for blocks without an alignment setting
  • Fix: Quick-link chips and the search box demo did not center in the editor canvas regardless of alignment

1.1.4 — 2026-05-28

  • Mobile: Complete responsive redesign for all admin tabs. All tables now display as card stacks on phones, each row shown as a white card with label/value pairs, clear separation, and box-shadow
  • Mobile: Fixed WordPress admin CSS conflict. WP’s built-in responsive table CSS was injecting position:absolute on td::before causing labels to float on top of cell content; overridden with position:static !important
  • Mobile: Redirects, 404 Errors, Groups, Short Links tables all converted to card layout with data-label attributes on every column
  • Mobile: Import/Export page now stacks to single column (was two columns side by side); form-table labels and fields stack vertically
  • Mobile: Groups page: form card stacks above the table instead of sitting beside it
  • Mobile: Tools page URL tester and Settings GeoIP download row stack to single column with full-width button
  • UX: Source URL and Target URL in the Redirects table are now clickable links that open in a new tab
  • UX: Floating toast notifications replace top-of-page notices. Feedback appears in the corner regardless of scroll position
  • Fix: Settings page Cooldown / Threshold / Window fields no longer block save when stored value is 0. Defaults are restored automatically
  • Fix: Tools page Flush Cache and Prune Logs buttons were silently doing nothing. Added REST endpoint and AJAX handler for prune-logs
  • Fix: All sr- CSS/JS class prefixes renamed to frm- throughout PHP, CSS, and JavaScript; sr-wrap, sr-admin-titlebar, sr-nav-tabs etc. are now fully frm-
  • Code: All WordPress Plugin Check automated errors resolved: PHPCS i18n, escaping, sanitization, wp_safe_redirect(), WP_Filesystem, gmdate(), wp_parse_url(), wp_strip_all_tags(), esc_sql(), ordered printf placeholders

1.1.1 — 2026-05-27

  • UX: Complete admin UI overhaul. Single sidebar item with all navigation via horizontal tabs
  • UX: Redesigned Add/Edit Redirect modal with two-column grid, collapsible Advanced section, and close ×
  • Analytics: Redesigned dashboard with 4 stat cards, trend badges, mini progress bars, and gap-fill chart
  • Analytics: Added Unique 404 URLs card and previous-period trend comparison
  • Groups: Redirect count now shows live data from DB; count badge links to filtered Redirects tab
  • 404 Errors: Suggestions dropdown rebuilt as body-attached overlay with no overflow onto Actions column; URLs decoded from percent-encoding
  • Accessibility: Checkboxes in all tables normalised to 16×16 px; consistent alignment
  • Settings: Each section wrapped in its own card with a coloured icon
  • Tools: Two-column card grid with icon headers
  • CSS: Unified design system. .sr-table-card, .sr-settings-section, .sr-card-head reused across all tabs

1.1.0 — 2026-05-20

  • Feature: Built-in link shortener with auto-generate or custom slug, hit tracking, and copy-to-clipboard
  • Feature: Configurable short-link URL prefix (default /go/, changeable via Settings or Short Links tab)
  • Fix: Short link routing now works correctly in subdirectory WordPress installs
  • Fix: Empty-string prefix stored in DB no longer disables the router

1.0.0 — 2026-05-01

  • Initial release
  • Core redirect manager: 301/302/307/308/410/451, exact/regex/wildcard matching
  • Conditional redirects: GeoIP, device, role, login, IP/CIDR, cookie, header, referrer, schedule, day/time
  • 404 tracking, fuzzy suggestions, bulk redirect creation
  • Email & webhook 404 spike alerts
  • Analytics dashboard with Chart.js
  • Groups with priority ordering
  • Import: CSV, JSON, .htaccess / Export: CSV, JSON, .htaccess, Nginx, WP-CLI
  • REST API + wp_ajax fallback
  • WP-CLI commands
  • Auto-monitor for post/term slug changes
  • GeoIP country matching (MaxMind GeoLite2)