Some images load without www

Hi,
I have just taken over a website and the client uses his domain for his internal network. Some images load with the www and some load without, this is causing major problems, we need all images to load from the www

How can I force the images to load from www?

The domain in question is healthyinvestment.co.uk

Thanks
Tony

Hello Tony,

Thanks for writing in! When you upload and image and attached it to the post or pages, it will follow the site url settings in Settings > General > Site URL. If you are using https://www.example.com for example, the image path will be https://www.example.com/wp-content/uploads/2019/12/filename.jpg. If you are not using www, you will see no www in the image path as well. If you previously have set from no www and later changed to www, then you will need to install Better Search and Replace plugin. Search for https://example.com/wp-content/uploads/ and then replace it with https://www.example.com/wp-content/uploads/.

We would love to know if this has worked for you. Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.