Wordpres Multisite, wrong generation of links only under HTTPS
-
Hi everybody,
Let’s see how I explain this.
I have WP multisite installation, using subdomains. Everything works great, and I can navigate to any of my sites’ dashboards using the “My sites” menu. The links, as expected, are:
main-domain.com/wp-admin/network
sub1.main-domain.com/wp-admin
sub2.main-domain.com/wp-admin
…
subN.main-domain.com/wp-adminNow lets say I’m activating HTTPS, with a Wildcard SSL certificate so it supports all the subdomains of the domains. It works too! But something unexpected happens…
When I navigate to the “My site” menu again, I can’t acceso any dashboard because all the links have become:
https://main-domain.com/wp-admin/network/
https://main-domain.com/wp-admin/
https://main-domain.com/wp-admin/
…
https://main-domain.com/wp-admin/Instead of the right links with HTTPS, it makes all the links to be the same. Even when I go to https://main-domain.com.com/wp-admin/network/sites.php exactly the same behaviour: everything links to https://main-domain.com/wp-admin/ no matter what site I’m trying to access.
If I manually navigate to https://sub1.main-domain.com/wp-admin/ it works.
So, why is it generating the links all wrong when using HTTPS? I’ve tried a lot myself but run out of ideas.
Help me, masters,
Thanks.
The topic ‘Wordpres Multisite, wrong generation of links only under HTTPS’ is closed to new replies.