ServerSpan · Ferramentas

.htaccess rules generator

Create powerful and optimized Apache .htaccess rules in seconds.

Redirects Security headers Hotlink & blocking

Generated .htaccess

Copy or download the rules.

# Your generated .htaccess rules will appear here.
# Pick the options you need, then click “Generate .htaccess”.

ServerSpanPrecisa de alguém que cuide da infraestrutura?Vamos falar de uma colaboração de gestão para o que realmente utiliza. O âmbito, a infraestrutura e o orçamento são adaptados ao seu projeto.Vamos falar do seu projeto

A gestão e o alojamento são concebidos para cada colaboração.

Configuration

Choose options, then generate.

Redirects & rewrites

One per line, format: /source-path,http://destination.url

Caching & performance
Security
Visitor blocking

One IP per line. (Exact match)

One per line, matches if the User-Agent contains any of these strings.

Used as the allowlisted referrer domain.

Custom error pages

One per line, format: error_code,/path/to/page.html



Frequently asked questions

Need .htaccess help?

We can harden and optimize your Apache setup.

From redirects and security headers to caching policies and hotlink protection, our team can help you deploy clean, safe and effective rules.

Get in touch