Knowledgebase & Downloads
Howto: Magento
How can you integrate CDN with Magento?
Migrate Contents to CDN
- Login to the Magento Admin Panel.
- Navigate to Magento Admin > Configuration > Web > Unsecure.
- Update the following with the CDN URL(eg, cdn.magento.com):
- Base Media URL: cdn.yourmagento.com/media/
- Base Javascript URL: cdn.yourmagento.com/js/
- Click Save to update the changes.
- Then Navigate to Magento Admin > Configuration > Current Configuration Scope: Main Website > Web > Unsecure > Base Skin URL.
- Untick Use Default for the Base Skin URL
- Update Base Skin URL:
- Base Skin URL: cdn.yourmagento.com/skin/
- Click Save to update the changes.
Verification
Verify if your Magento is on CDN by viewing the HTML source code. Image links shall be replaced with CDN URLs.