I using multisite wordpress and yesterday I changed from http to https. At first I got many problem about updating url. So I researc and applied a few method such as query change https direct on MySQL, setup .htacess following :
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
also using update on functions.php :
update_option('siteurl','https://www.//example.com');
update_option('home','https://www.example.com');
Finally all link is working good.
But I got one problem at Netword admin menu
Here is my screen:
all the website url is fine (https://www.) https://i.stack.imgur.com/0J3Cn.jpg
but only this menu url is only https:// non-www https://i.stack.imgur.com/8syxf.jpg
How can I fix Network admin menu to appear https://www. ?
Thanks
Your site is MultiSite. Network admin menu is part of it.
You should use update_site_options to update URLs globally
As well, read following instruction about how completely switch from HTTP to HTTPS
Some highlight from there: