Created
September 22, 2018 21:00
-
-
Save damaya/55adb000406590759931b30fb243b8f0 to your computer and use it in GitHub Desktop.
Wildcard redirects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<If "%{HTTP_HOST} == 'www.domain.com.co'"> | |
RedirectMatch 301 (?i)/matchpart http://anyotherdomain.co/path | |
</If> | |
Check https://perishablepress.com/case-insensitive-redirectmatch/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment