
url_rewriter.tags를 사용하여 URL을 리다이렉트 할 때, 'include_pattern'과 'exclude_pattern'의 차이점은 다음과 같습니다.
- 'include_pattern'은 특정 패턴을 포함하는 URL이 리다이렉트 대상이 됩니다. 예를 들어, 'include_pattern'에 '/blog/'를 설정하면 '/blog/'로 시작하는 모든 URL이 리다이렉트 대상이 됩니다.
- 'exclude_pattern'은 특정 패턴을 제외하는 URL이 리다이렉트 대상이 됩니다. 예를 들어, 'exclude_pattern'에 '/blog/'를 설정하면 '/blog/'로 시작하지 않는 모든 URL이 리다이렉트 대상이 됩니다.
이 두 패턴의 차이점은 'include_pattern'은 포함하는 URL을 리다이렉트하고, 'exclude_pattern'은 제외하는 URL을 리다이렉트하는 것입니다.
2025-08-06 13:02