simple

.htaccess Oluşturucusimple

ToolHQ için Apache .htaccess kuralları oluştur - yönlendirmeler ve güvenlik.

# Generated by ToolHQ .htaccess Generator
Options -Indexes

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /

  # Force HTTPS
  RewriteCond %{HTTPS} off
  RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>

# Enable Gzip compression
<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/css application/javascript
</IfModule>

# Browser caching
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType image/jpeg "access plus 1 year"
  ExpiresByType text/css "access plus 1 month"
  ExpiresByType application/javascript "access plus 1 month"
</IfModule>

How to use .htaccess Oluşturucu

1

Yönlendirme Türünü Seçin

ToolHQ'de permanent (301), temporary (302) veya external redirect seçeneğinden birini seçerek .htaccess kurallarınızı oluşturmaya başlayın.

2

Yönlendirme URL'nizi Girin

ToolHQ'den redirect yapmak istediğiniz URL'yi ve redirect etmek istediğiniz URL'yi girin

3

Güvenlik Kuralları Ekle

ToolHQ'den password protection, IP blocking ve file type restrictions dahil olmak üzere çok çeşitli security seçenekleri arasından seçim yapın.

4

Oluştur ve İndir

'Generate' düğmesine tıklayarak özel .htaccess kurallarınızı oluşturun ve bunları bir text dosyası olarak indirin

Sık Sorulan Sorular

İlgili Araçlar