Integration with Craft

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.

Login to your Craft admin panel.

Go to Assets by clicking on the arrow next to the gear in the top right corner of the control panel.

Click +New Source to create a new folder for your static files.

In the URL field type in the CNAME that you specified in the G-Core control panel. Ensure that your CNAME record has been configured in a proper way before using it for integration (eg, http://cdn.site.com/path/to/your/assets).

Go to the Assets tab, find previously created asset source and download your files.
Now you can use your asset at the website.

If you have already had created assets, edit them replacing URL with CNAME that you specified in the G-Core control panel.

Save changes.

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?
Recently viewed articles