Let's say I have a wordpress site on a subdomain.
Initially, I created the site with "www." >>> www.mysite.mainsite.com
Now, I'd like to change site url to only mysite.mainsite.com without www anymore.
I can change it via Settting > General but I checked the database and I found that all of my images in media library (guid field of the posts table) are still having www.mysite.mainsite.com with www which I don't want it anymore.
I also found this thread related to this Changing www prefix in General Settings and Interior Links
But anyone can suggest if it's risky to do that or not? Will the code there usable for today?