可从Wordpress中的2个URL访问的图像(www和非www内容复制)

I have noticed that by default, Wordpress creates duplicate URLs to access the same image (www and non-www). For instance, visit this post:

http://www.shoutmeloud.com/blog-post-hacks.html .

Now copy the URL of the first image. It's http://www.shoutmeloud.com/wp-content/uploads/2016/04/optimize-images-min.jpg

Now, you will notice that the same image is also available at http://shoutmeloud.com/wp-content/uploads/2016/04/optimize-images-min.jpg

I think this is a case of content duplication in the eyes of Google. How to resolve this issue in Wordpress?