예를 들어, example.com/about을 브라우저의 URL에 입력하면 example.com/about.html 파일의 콘텐츠가 표시되도록 하고 싶은 경우가 있을 수 있습니다. 즉, example.com/about에 접속하면 example.com/about.html이 로드되지만 브라우저의 URL에는 example.com/about과 같이 html 확장자 없이 표시되도록 하는 것입니다. 이 경우 다음 코드를 .htaccess 파일에 추가하여 테스트해보니 잘 작동되는 것을 확인했습니다.RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.html [NC,L] // 출처: How to remove .php, .html,..