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.
One single file needs to be edited in order to set the path variables to point to the CDN location:
Add a new variable in the beginning.
Replace the following variables in the code
Replace cdnurl with your CNAME. For example:
|$rsc_url = $baseurl.$rsc_subdir;||$rsc_url = $cdnurl .$rsc_subdir;|
|$skins_url = $baseurl.$skins_subdir;||$skins_url = $cdnurl .$skins_subdir;|
|$media_url = $baseurl.$media_subdir;||$media_url = $cdnurl .$media_subdir;|
Integration has been completed! We highly recommend you to check the HTML code of your web page to ensure that URLs have been rewritten properly from your original ones to CNAME from the control panel.
To do that press F12 or open Developers Tools in your browser, choose the Network tab and refresh the page. All static files should have your CNAME in URLs.
Was this article helpful?
Learn more about our next-gen CDN