PricingDocsBlog
Log inSign up
Docs
›
Development

.htaccess overview

Meet the powerful Apache .htaccess configuration file.

IntroWhat to do with .htaccess
RedirectsForce https, domain forwarding and more
HTTP authCreating a password protected area
GZIPEnable compression for other HTTP responses
Environment detectionSpecific .htaccess rules for production / development
HSTSForce https, domain forwarding and more
More .htaccess tipsComments, WordPress, file extensions, custom errors
TroubleshootingCommon .htaccess issues and how to detect them
HTTP headersCache control and CORS

Build the web you want to see

fortrabbit

PHP hosting for developers.

Running on AWS. Serving world wide.

Private by design. No cookies.

Rooted in Berlin. Since 2012.

Start your free trial →

No spam. No credit card required.

Software

  • Craft CMS
  • Kirby
  • Statamic
  • Laravel
  • ↓ Show all

Solutions

  • You
  • Freelancer
  • Agency
  • Startup
  • ↓ Show all

Hosting guide

  • Why it's hard
  • How to choose
  • Providers

Company

  • Environment 🍃
  • Legal center
  • Culture
  • ↓ Show all

Contact us

  • Technical help
  • Account recovery
  • Website down
  • ↓ Show all

Docs

  • Platform reference
  • Install guides
  • Dev tips
Status→
Can you help with marketing?