How do I Integrate My Website with CDN Services?
Suppose you have an image in your website and you wish to integrate CDN with it, you will have to make changes in your website code as mentioned below.
[Existing image path]
<img src= "ORIGIN-URL/images/logos/image.jpg" alt="" />
Now, you will have to update image path in code like following:
<img src= "CDN-URL/images/logos/image.jpg" alt="" />
Let’s see an example:
Your domain is mydomain.com and existing image path is following:
<img src="http://mydomain.com/images/logos/image.jpg" alt="" />
If you want to serve this image from the CDN Hosting, you will have to change the image URL as follows:
<img src="http://cdn.mydomain.com/images/logos/image.jpg" alt="" />
You can refer following knowledge-base articles if you want to integrate CDN Hosting with Joomla, WordPress websites.