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
| RewriteCond %{HTTPS} off | |
| RewriteRule ^(.*)$ https://www.abc.com [L,R=301] | |
| # .htaccess main domain to subdirectory redirect | |
| # Do not change this line. | |
| RewriteEngine on | |
| RewriteCond %{HTTP_HOST} ^old.abc.com$ | |
| RewriteRule !^oldwordpress/ oldwordpress%{REQUEST_URI} [L] |
NewerOlder