Test JavaScript and PCRE-compatible regular expressions in real time, extract emails, URLs, and IPv4 addresses from server logs, or simulate Apache/LiteSpeed .htaccess RewriteRule 301 redirects before saving changes to your live website.
How to Test WordPress .htaccess Rewrite Rules Safely
- Always Test Capture Groups (`$1`, `$2`) First: One mistyped caret (`^`) or wildcard (`.*`) in `.htaccess` can create an infinite redirect loop across your entire WordPress site.
- Place Custom Redirects Above `# BEGIN WordPress`: So WordPress’s front-controller rule (`index.php`) doesn’t swallow your redirect before it fires.