Created
May 7, 2021 07:02
-
-
Save mraubo/fe4f4d1b45ce98c2f21b6e961105b682 to your computer and use it in GitHub Desktop.
Rewrite Root to subfolder
This file contains hidden or 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 / | |
| RewriteCond %{HTTP_HOST} ^(www\.)?domain2\.com$ [NC] | |
| RewriteRule !^subdir/ /subdir%{REQUEST_URI} [L,NC] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment