How to create multiple Rewrite-Rule for various site in single htaccess?
I am using a single database for two different sites. One is sitejury.com and the other is cdn1.sitejury.com. I’m trying to serve my files using the subdomain.
Previously I used simple https Rewrite for my domain. but now with my increasing need, it has become complex for me to set up.
-
I need to redirect both www.domain.com or domain.com to https://domain.com
-
Redirect all version of cdn.domain.com to SSL-https//:domain.com version except (option- 3)
-
Subfolder “wp-content” and “wp-includes” stay on both the domain domain.com and CDN domain with https. I only need these two files to redirect to their https version.
Leave an answer