.htaccess Checker
Find syntax errors in Apache .htaccess rewrite rules.
What it does
Looks for syntax errors in Apache .htaccess files, mainly in RewriteRule and RewriteCond lines. One mistake there can take a whole site down with a server error. You get a list of the problem lines before you upload the file.
About the .htaccess format
.HTACCESS file extension.htaccess Apache HTACCESS File
Web Files
- File Type
- Apache HTACCESS File
- Developer
- Apache Software Foundation
- Category
- Web Files
- MIME
text/plain
Related tools
More in Validators
XML Validator
Check that XML is well formed and see the line of each error.
YAML Validator
Find indentation and syntax errors in YAML files.
Regex Tester
Test a regular expression on sample text and see each match and group.
HTML Validator
Find unclosed tags, wrong nesting and duplicate IDs in HTML.
CSS Validator
Find syntax errors and unknown properties in CSS.
JavaScript Syntax Checker
Find syntax errors in JavaScript and show their line and column.
OpenAPI Validator
Check an OpenAPI 3 or Swagger 2 document for structure errors.
Cron Expression Checker
Read a cron line in plain words and see its next run times.
.htaccess Checker questions
How do I use the .htaccess Checker?
Paste the text into the Input box or open a file, set the options, then copy or download the result.
Does renaming a file to .htaccess change its format?
No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .htaccess page lists programs and converters for it.