How to create multiple Rewrite-Rule for various site in single htaccess?


I am using a single database for two different sites. One is and the other is 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.

  1. I need to redirect both or to

  2. Redirect all version of to SSL-https// version except (option- 3)

  3. Subfolder “wp-content” and “wp-includes” stay on both the domain and CDN domain with https. I only need these two files to redirect to their https version.

, , Bikram 4 years 2020-03-25T00:53:48-05:00 0 Answers 119 views 0

Leave an answer