Hi, I have a CDN set up, many thinks like javascript and images in the gallery are served from the alternative website address which had greatly sped up the website.
What I haven't been able to do yet is serve attachements in CMS articles from the CDN, I haven't found the place to change the URL from www to CDN in the code.
I see there is Custom Rewrite Rules that should be able to do this.
Basically if its an attachment, then serve from the CDN alternative address. I cant see what I'm doing wrong though...
Hope someone can help.
Thanks in advance
Dan.
What I haven't been able to do yet is serve attachements in CMS articles from the CDN, I haven't found the place to change the URL from www to CDN in the code.
I see there is Custom Rewrite Rules that should be able to do this.
Code:
'http://www.solent-renegades.co.uk/attachment.php?attachmentid=(\d+)$' => 'http://cdn.solent-renegades.co.uk/attachment.php?attachmentid=$1'
Basically if its an attachment, then serve from the CDN alternative address. I cant see what I'm doing wrong though...
Hope someone can help.
Thanks in advance
Dan.