.htaccess를 사용하여 .php, .html, .htm 확장자를 URL에서 제거하는 방법


.htaccess를 사용하여 .php, .html, .htm 확장자를 URL에서 제거하는 방법

예를 들어, example.com/about을 브라우저의 URL에 입력하면 example.com/about.html 파일의 콘텐츠가 표시되도록 하고 싶은 경우가 있을 수 있습니다. 즉, example.com/about에 접속하면 example.com/about.html..


원문링크 : .htaccess를 사용하여 .php, .html, .htm 확장자를 URL에서 제거하는 방법