Add : 웹 버그 제거

This commit is contained in:
KINDNICK 2025-09-18 21:29:40 +09:00
parent feefd28392
commit 0bec74a03d

View File

@ -1,5 +1,6 @@
Options +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# 한글 URL 인코딩 설정
<IfModule mod_url.c>
@ -7,15 +8,19 @@ RewriteEngine On
ClientEncoding EUC-KR
</IfModule>
# Internal rewrite for clean URLs to .html files
# Static files 제외
RewriteCond $1 !^(css|js|images|uploads|favicon\.ico|robots\.txt)
# 실제 파일이나 디렉토리가 아닌 경우만
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Clean URL 규칙
RewriteRule ^about$ about.html [L]
RewriteRule ^services$ services.html [L]
RewriteRule ^portfolio$ portfolio.html [L]
RewriteRule ^gallery$ gallery.html [L]
RewriteRule ^contact$ contact.html [L]
RewriteRule ^qna$ qna.html [L]
</IfModule>
# Handle 404 errors
ErrorDocument 404 /index.html