SEO tools
.htaccess Redirect Checker
Try redirects before they go live. Paste rules from your .htaccess file (where Apache servers keep redirects) and an address to see where it ends up.
What gets tested
How your rules are read
- In order, from the first line downEach RewriteRule is checked where it appears. RewriteCond lines belong to the rule right after them, and the [NC] (ignore case) and [OR] flags are followed.
- Redirect or rewriteA rule with [R], or one that points to a full address, is a redirect: the browser moves to the new address. It counts as a 302 (temporary) unless you set a code, like R=301 for permanent. Without [R], the server quietly serves another file and moves on to the next rule, unless [L] says stop. When several redirects match, the last one sets the result.
- Server variablesHTTP_HOST, REQUEST_URI, QUERY_STRING and HTTPS are filled in from the address. If a rule checks anything else, such as HTTP_REFERER or HTTP_USER_AGENT, add it under Server variables.
- What is skippedThere are no real files here, so file checks (-f, -d) always count as missing. ErrorDocument, <Files>, <IfModule>, Order, Deny and Require lines are skipped and marked that way.
Check next
RankHouse AI agent
Want this fixed for you every month?
RankHouse's AI agent audits and fixes your site. Every month it runs a full SEO audit, fixes what it can and lists the rest in plain English for your developer.