Continued from this post. As I use Sub-directory type of WordPress multisite network, the steps of moving entire WordPress sites to HTTPS might be slightly different from single type cases.
I used this opportunity to change some other things.
First, I’ll write about some other things.
require
in the htaccess file, I added AuthConfig
to AllowOverride
directive.Now I’ll write about WordPress.
http://o6asan.com/
in my sites to /
. Of course, I can use //o6asan.com/
instead of /
. But I think /
is better than //o6asan.com/
because I don’t need to re-edit them even if I change my domain name someday.curl_setopt( $handle, CURLOPT_SSLCERT, 'the exact path of clientcert.pem' );
curl_setopt( $handle, CURLOPT_SSLKEY, 'the exact path of clientkey.pem' );
https://example.com
. But if you want to move your WordPress network from HTTP to HTTPS like me, you have to change Site URL
and HOME
of your main site from your database. Of course, you need to log your SQL server in before this step.Site URL
and HOME
values on the table wp-options
. If you find them, replace http://example.com
by https://example.com
. About Child sites, you can change them from Network Admin’s Dashboard. Log on as Network Admin, go Sites
page, and click Edit
. On Info
page, change Site URL
to https://example.com
or something like that, and on Settings
page do same things for Siteurl
, Home
and Fileupload Url
.
You also need to change Fileupload Url
about the main site.
About Child sites, you need the above steps even if your WordPress is very new and is installed as on HTTPS. If you don’t, you will have some 404 from WordPress.
The recipe for sweet potato yōkan that I often made this fall. Ingredients Sweet potato…
After a long time, when I checked broken links and fixed them, I got an…
I made a box, so I prepare the contents. Theme and Plugins. The theme is…
Hehe, it's been almost a year since my last post. I received a notification email…
About a week ago, I finally started to renew my sites, which I had been…
This website uses cookies.