Test .htaccess Rewrite Rules

Test your .htaccess rewrite rules and see how they redirect URLs. Perfect for debugging redirects and URL rewriting.

Test Configuration
Enter the URL you want to test against your .htaccess rules
Load common .htaccess rules for testing
Enter your .htaccess rewrite rules to test
Common Examples

Features

Real-Time Test
Realistically simulate .htaccess rules with your URLs
Detailed Statistics
Comprehensive analysis of directives in .htaccess files
Syntax Validation
Detect errors and warn of potential issues
Optimal Suggestions
Suggestions to improve SEO and website performance

Quick Guide

1 Enter the URL to test
2 Paste the .htaccess rule
3 Click the 'Test' button
4 View results and suggestions

Common Use Cases

301 Redirect
Redirect from old page to new page new
RewriteRule ^old-page$ /new-page [R=301,L]
Force HTTPS
Redirect all traffic to HTTPS
RewriteCond %{HTTPS} off
Clean URLs
Remove trailing slash and extensions
RewriteRule ^(.+)/$ $1 [R=301,L]