제가 어느부분을 잘못 썼는지 좀 봐주실 분 계시면 고쳐주세요 ㅠ ㅠ
Copy
AddType application/x-httpd-php .htm .html#HTTPSへリダイレクトRewriteEngine OnRewriteBase /RewriteRule ^join/form\.html$ https://www.test.or.jp/join/form.html [R=301,L]RewriteRule ^site/contact\.html$ https://www.test.or.jp/site/contact.html [R=301,L]#404 not foundErrorDocument 404 http://www.test.or.jp/site/404.html#wwwの有り無し統一RewriteCond %{HTTP_HOST} ^(test\.or\.jp)(:80)? [NC]RewriteRule ^(.*)$ http://www.test.or.jp/$1 [R=301,L]RewriteEngine off
|
답변 2개 / 댓글 2개
테스트는 안해봤지만.. 아래처럼 수정을 해보세요.
Copy
RewriteCond %{HTTPS} offRewriteRule ^join/form\.html$ https://www.test.or.jp/join/form.html [R=301,L]RewriteCond %{HTTPS} offRewriteRule ^site/contact\.html$ https://www.test.or.jp/site/contact.html [R=301,L]
답변을 작성하려면 로그인이 필요합니다.
이상하게 페이지가 다운로드 되어버리네요 ... ㅠ ㅠ
보여드릴 수 없는 게 참 답답합니다 하하하
답변 감사드립니다~~