wpdr adlı üyeden alıntı: mesajı görüntüle
Merhaba, geliştirilebilir. Uzantıyı gizlemek için .htaccess dosyasyı açıp;

RewriteEngine On

# .html olmadan erişim varsa, .html dosyasına yönlendir
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)$ $1.html [NC,L]

# .html ile gelen isteği .html'siz hale getir
RewriteCond %{THE_REQUEST} s/+(.+?).html[s?]
RewriteRule ^ %1 [R=301,L]

bunları ekleyip kaydedin. .html uzantılarını silin menüden
merhaba .htaccess naparsam yapim işe yaramıyor en son ai a yaptırdım bu da işe yaramadı güncel hali bu ;

# ===== Rewrite Engine Aç =====
RewriteEngine On

# ===== HTTPS ve WWW Zorla =====
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^(.*)$ https://www.vosvostekel.com/$1 [R=301,L]

# ===== .html Uzantılarını Gizle =====
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^([a-zA-Z0-9-]+)/?$ $1.html [L]

# ===== Ana Sayfa =====
DirectoryIndex index.html

# ===== 404 Yönlendirme =====
ErrorDocument 404 /index.html

# ===== Güvenlik Temelleri =====
# Sunucu yazılımı bilgisini gizle
ServerSignature Off
ServerTokens Prod

# ===== MIME tipleri ve XSS koruması =====
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
Header set X-Frame-Options "SAMEORIGIN"

# ===== Cache ve Compression =====
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
</IfModule>