Created
November 23, 2019 00:17
-
-
Save coulterpeterson/6e26d6a54c747d4a276b79ca1c6430c8 to your computer and use it in GitHub Desktop.
#htaccess 301 redirects in a #wordpress multisite for a single subdomain
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
RewriteEngine On | |
RewriteBase / | |
# Test domain rewrite rules | |
RewriteCond %{HTTP_HOST} ^(www\.)?testdomain.ca [NC] | |
RewriteRule ^about-us/core-values$ partnership/ [R=301,NC,L] | |
RewriteCond %{HTTP_HOST} ^(www\.)?testdomain.ca [NC] | |
RewriteRule ^about-us/core-values/$ partnership/ [R=301,NC,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment