Created
October 24, 2018 14:08
-
-
Save DanielSantoro/2a932abab7ffa4bb5c8a2c09f7e7107d to your computer and use it in GitHub Desktop.
Apache Rewrite - Special Characters
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
# Trying to rewrite: | |
# https://www.plm.automation.siemens.com/en/about_us/success/case_study.cfm?Component=232169&ComponentTemplate=1481 | |
# to | |
# https://www.plm.automation.siemens.com/global/en/our-story/customers/wkidea/16678/ | |
# | |
RewriteCond %{QUERY_STRING} (^|&)Component=232169($|&) | |
RewriteCond %{QUERY_STRING} (^|&)ComponentTemplate=1481($|&) | |
RewriteRule ^en/about_us/success/case_study\.cfm$ /global/en/our-story/customers/wkidea/16678/? [L,R=301] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment