Before you take any steps please back up your files and database. The plugin works only with default CMS pattern. If you manually changed CMS patterns, the plugin might not help you. Use your СNAME (cdn.site.com) that you specified in the Gcore Customer Portal for the following steps. Ensure that your CNAME record has been configured in a proper way before using it for integration. One single file needs to be edited in order to set the path variables to point to the CDN location:Documentation Index
Fetch the complete documentation index at: https://gcore.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
blogs/conf/_advanced.php
Add a new variable in the beginning.
Replace the following variables in the code
Replace cdnurl with your CNAME. For example: http://cdn.site.com/
| Before | After replacement |
|---|---|
| baseurl.$rsc_subdir; | cdnurl .$rsc_subdir; |
| baseurl.$skins_subdir; | cdnurl .$skins_subdir; |
| baseurl.$media_subdir; | cdnurl .$media_subdir; |