App and Web Development Information and Services

How to Use www in Your Domain Name in WordPress Multisite

Working with one of my WordPress (WP) sites I ran into the following problem. When I set up multisite network, my main site behaved strangely: typing www.mysite.com in the browser address bar caused the site address to be displayed without www, and subsequent navigation within the site kept the address displayed without www. One inconvenience resulting from this was that even though I had specified the preferred site in Google Search Console with www, most statistical data was shown for the site version without www.

Well, here are the steps I took to remedy this problem:

Eventually, using a slightly different set of search terms in Google, I found this:
http://wpengine.com/support/how-to-change-a-multi-site-primary-domain/, but the "wp_#_options" recommendation is not necessary if you are just trying to add the www. The site also has some instruction on changing the WP database if you are unfamiliar with how to do that.