디렉토리의 모든 페이지에서 인덱스 페이지로 리디렉션하고 싶습니다. 잘못된 주소도 있습니다.htaccess 디렉토리의 모든 페이지를 인덱스 페이지로 리디렉션하는 방법
http://site.com/directory/anyword move to http://site.com/directory/index.html
나는 .htaccess RedirectMatch 301 /directory /directory/index.html
에서했던 그러나 나는/디렉토리를 제외하고 필요 ThankYou.html과
그것은 리디렉션하지만 열린 index.html을하지 않습니다 않습니다- 내가 시도 할 수 있음 resulted in too many redirects
을 with 404.
아니요. 잘못된 주소 (디렉토리/ddkdfjskdjsdkdj)를 열면 404 페이지가 열립니다. – Dobrozhelatel