0
URL ".php"또는 ".html"또는 "?"을 사용할 때 .htaccess 리디렉션 페이지를 사용하는 방법. 또는 "="? 페이지 리디렉션을 사용 중입니다. htaccess
Examples
http://www.domain.ltd/index.php # error, execute redirect to http://www.domain.ltd/ban/
http://www.domain.ltd/index/?id=foo # error, execute redirect to http://www.domain.ltd/ban/
http://www.domain.ltd/index.html # error, execute redirect to http://www.domain.ltd/ban/
당신에게 코드 조각에서 촬영
하지만 내 질문에 대답하지 않습니다 :-( – Charlie
다음을 시도해보십시오. 리디렉션 된 위치로 재생해야 할 수 있습니다. RewriteRule^index \ .php $/ban [NC, R] –