I have this simple rewrite rule and it works properly under http:
RewriteCond %{HTTP_HOST} ^www\.siku-siku\.com$
RewriteRule ^/work/all.html /portfolio/ [L,R=301]
However, the rule doesn't take into effect when I was on https. I modified the rule set to the following but to no avail.
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} ^www\.siku-siku\.com$
RewriteRule ^/work/all.html /portfolio/ [L,R=301]
How can I make that rule to work both on http and https? Please let me know if I need to provide more information.