I'm trying to change the base urls for static and media files to the URL of my CDN however when I change them, I get 404 not found for all images/media/static/css/js
All files and content is available on the CDN url as I can go to a file directly by going to e.g.
Yet the URL of the file (and all others) that is trying to load on the site is like this:
Its missing the /pub/static/ bit out
I am currently in developer mode and have tried doing the change in di.xml as per Magento 2 : Symbolic links to pub/static files
I have a .htaccess file in /pub/static but maybe it is incorrect in there?
Does anyone have any ideas please?