This guide will help you integrate Magento with StackCDN.

The integration can be done with HTTPS in addition to HTTP.

Log into Magento admin panel

Go to “System” and select “Configuration

magento-admin-system-configuration-menu.gif-750×289-2015-03-24-10-10-03.png (530×286) 2015-03-24 10-39-41

 

Select “Web” under “General” section

Magento_CDN_2.png (1113×294) 2015-03-24 10-19-32

Go to “Unsecure” and set up following info

  • Base URL. Enter your website URL in the following format: http://www.yourwebsite.com
  • Base Link URL. You don’t need to change this. It should be pre-populated with your Base URL
  • Base Skin URL. Fill in your site’s URL including folder for skin. For example: http://cdn.yourdomain.com/skin/
  • Base Media URL. Fill in your site’s URL including media folder. For example http://cdn.yourdomain.com/media/
  • Base Java Script URL. Enter again site’s URL followed by the Java Script folder. For example: http://cdn.yourdomain.com/js/

Set up “Secure” subsection if you want to use HTTPS.

  • Base URL. Enter your website URL in the following format: https://www.yourwebsite.com
  • Base Link URL. You don’t need to change this. It should be pre-populated with your Base URL
  • Base Skin URL. Fill in your site’s URL including folder for skin. For example: https://cdn.yourdomain.com/skin/
  • Base Media URL. Fill in your site’s URL including media folder. For example https://cdn.yourdomain.com/media/
  • Base Java Script URL. Enter again site’s URL followed by the Java Script folder. For example: https://cdn.yourdomain.com/js/
  • Set “Use Secure URL in Frontend” to Yes
  • Set “Use Secure URL in Admin” to Yes

Hit “Save settings” to confirm all the changes.

We recommend to quickly check the HTML code in order to verify if all the URL have been rewritten properly.

 

Leave a Reply

Your email address will not be published. Required fields are marked *