Multisite redirecting https domains incorrectly
-
I’ll preface this by saying that my WordPress Multisite worked for years without issue until recently.
Not long ago, I bought a UCC SSL certificate with enough Subject Alternative Names to cover most of the major sites on my network. It was applied without issue and worked for several months.
Then I attempted to add a new domain name from an external host to my hosting account. I had done this before without issue. After parking the domain on my account, I added it as a SAN to my SSL and pointed an A record at my ip. I already had the site set up on the network, so I changed the Site Address to https and thought I was done. Suddenly, however, every site on my network that used https now pointed to another site.
I used my hosting space for some time before switching to Multisite, so there are a few websites stored in subfolders that are outside of the network. The site now being pointed to was one of them. I had included it on my UCC SSL, but that was the only connection between it and my network, which is run off an installation in public_html. While a little bit messy and in need of organization, the presence of a network running on subdomains and a few separate WordPress installations in an unrelated set of subfolders had never caused any problems.
In an attempt to isolate the issue, I removed all my network sites from the UCC SSL, as well as the site that was being linked to. Removing sites from https and changing their Site Address back to http fixed the problem. Adding them to https again caused the same issue. When I removed the incorrectly linked site, it seemed to have no effect. Sites using https on the network still tried to link to the https version of the site.
After checking wp_options in my database for both the network, subsites, and the subfolder site, I can’t find any reason for the redirects. The only thing I can see is that when using a browser console to view the Headers, the Request URL, in this case https://downtownbeaumont.org/, is correct. The Remote Address, however, points to the ip corresponding to https://cajunheritagefest.org/. Unfortunately, I have no idea what sets the Remote Address. It’s beyond my level of experience.
So to summarize, every https site on my network now points to https://cajunheritagefest.com/. The only relation between that site and my network sites are that it was on the same UCC SSL certificate. Currently, cajunheritagefest.com is no longer on the cert, but https sites are still attempting to point to it, leading me to believe that somewhere a value got changed that needs to be fixed. I’m including a link to https://downtownbeaumont.org/, which is currently on the cert and exhibiting the faulty behavior. Is there anyone out there that can steer me in the right direction on this?
The page I need help with: [log in to see the link]
- The topic ‘Multisite redirecting https domains incorrectly’ is closed to new replies.