I have a wordpress website www.domain.com and we just purchased an SSL certificate but it's only working on domain.com (without the www). I have my .htaccess and site url configured
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ https://domain.com/$1 [L,R=301,NC]
and this works but the pages of my wordpress website still has links (example images www.domain.com/uploads/images/01.jpg) on my website which causes a warning for users because it's not a complete https. Is there a way to fix this other than manually editing all of the links inside the pages because this is a big website and I don't have time to edit the links one by one. Is there a plugin for this? I am also hesitant on using a plugin for this but if there's a working plugin for this I can give it a try.
I read about 301 redirect but I don't think it will work because the links are saved in the database? (im really not sure) if a 301 redirect work what is the disadvantage/advantage of it? eg. memory issue, more work for CPU?