Title: Non-wordpress subdomain in https redirects to main wordpress domain
Last modified: August 21, 2016

---

# Non-wordpress subdomain in https redirects to main wordpress domain

 *  [thyme1152](https://wordpress.org/support/users/thyme1152/)
 * (@thyme1152)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/non-wordpress-subdomain-in-https-redirects-to-main-wordpress-domain/)
 * I wasn’t sure where to post this as my WordPress install is a Multisite, but 
   this only concerns my problem indirectly (or at least I think so…)
 * I also tried posting this on stackoverflow but I’m not getting any answers and
   this is starting to be urgent (this is for a client).
 * I’ve got my WordPress installed as a multisite network on the main domain – let’s
   say [http://www.domain.com](http://www.domain.com).
 * I also have subdomains set at store-ca.domain.com and store-us.domain.com (no
   www), on which I have an Opencart multistore.
 * I want to be able to use the checkout section of my stores in SSL, so I got a
   wildcard certificate installed so it would cover both subdomains.
 * If I simply add an ‘s’ to http from one of the subdomains, no matter where I 
   am in one of the stores, I’m redirected to [http://www.domain.com](http://www.domain.com),
   in simple http. And the fact that it’s an Opencart install doesn’t seem to matter,
   as I also made a test folder with a simple index.html file saying “hello”, created
   a subdomain to direct to it and tried accessing it through https; same result,
   I’m redirected to the WordPress site.
 * It doesn’t seem to have anything to do with either system’s htaccess files as
   I wipe them out and the redirect still happens (and the pretty URLs stop working,
   as expected).
 * So, anyone have any idea what could be causing this?

The topic ‘Non-wordpress subdomain in https redirects to main wordpress domain’ 
is closed to new replies.

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [opencart](https://wordpress.org/support/topic-tag/opencart/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [thyme1152](https://wordpress.org/support/users/thyme1152/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/non-wordpress-subdomain-in-https-redirects-to-main-wordpress-domain/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
