Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
forked from Safe Redirect Manager™
SecureFlow Path is not affiliated with Safe Redirect Manager. The name and any related trademarks are used solely for nominative descriptive purposes.
This tool provides a method for managing HTTP redirects on a website, designed for site administrators and developers who need to change URLs without breaking links. It focuses on performance and data portability, avoiding the common pitfalls of redirect plugins that can slow down a site.
Redirect Storage: Redirects are stored as a custom post type, making the data portable and the system scalable for sites with high traffic volumes. This approach avoids cluttering the options table.
Performance Controls: Redirects are cached using a transient API to ensure fast lookups, and the cache is cleared automatically when rules are updated. A default limit prevents performance issues by capping the total number of active redirects.
Flexible Matching: Supports simple paths, wildcards, and regular expressions for creating redirect rules. You can enable regex matching on a per-rule basis and use wildcard replacements in the destination URL.
Status Code Handling: Allows setting specific HTTP status codes like 301 (permanent) or 302 (temporary). It also supports applying 403, 404, and 410 status codes directly through the redirect interface, which can render appropriate error pages.
Developer Access: Provides filters and actions for extending functionality, such as modifying the maximum redirect limit or adding custom HTTP status codes. It also includes a WP-CLI command for managing redirects from the command line.