Redirect Manager – Plugin Documentation

Smart, secure, .htaccess-free redirection. Take full control of your redirects with dynamic rules, regex power, and analytics — all without ever touching your server config.

📜 Table of Contents

1. How Redirect Manager Works

  • ✅ Uses wp_redirect() – WordPress-native and HTTP-compliant
  • ✅ Handles redirects dynamically — no .htaccess edits needed
  • ✅ Supports 301, 302, and 307 redirect types
  • ✅ Regex redirect support for advanced targeting
  • ✅ Query string matching support for granular control
  • ✅ Hit count tracking and last accessed timestamp logging
  • ✅ Bulk import/export via CSV

2. Security Considerations

  • 🔐 Admin-only access (via manage_options)
  • 🧷 Nonce protection on all forms to prevent CSRF
  • 🧼 All URLs sanitized with esc_url_raw()
  • 🧠 Regex validation ensures safe patterns
  • 🛡️ No raw SQL – uses wpdb->prepare() and update_option()
  • 🚫 Zero frontend footprint – no public-facing endpoints

3. Performance & Benefits

  • ⚡ Fast redirect execution inside WordPress request cycle
  • ⚙️ No need to restart Apache or NGINX
  • 📊 Built-in analytics to monitor redirect behavior
  • 🧩 Works alongside all major themes and plugins — no conflicts

4. Why It’s Safer Than .htaccess Redirects

  • Access Control: Plugin UI is admin-only. .htaccess is open to file-level editing errors.
  • Validation & Logging: Redirect Manager logs every hit and checks inputs. .htaccess does neither.
  • Security: Built-in nonce checks, XSS protections, and safe DB interactions.
  • UX: Intuitive admin interface vs. manual file editing.

5. Final Thoughts

Redirect Manager is your cleanest, safest, and fastest way to manage redirection logic in WordPress without sacrificing performance or security. Ditch the .htaccess edits — upgrade to smart redirects that log, analyze, and protect your flow.