• Resolved LPackman

    (@furnituresuppliesuk)


    Hello,

    at the CDN I usually have my assets in a folder however as of the new updated version of the plugin I am no longer able to point the CDN to a folder. I.e. mydomain.com/1 as the folder is stripped from the URL after saving is there a reason why this is no longer allowed?

    Also is it possible to rewrite admin assets so images for admin are also loaded from CDN, please?

    Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Anonymous User 16850768

    (@anonymized-16850768)

    We have moved to a CDN hostname value instead of a URL as it better aligns with the handling of the new rewrite engine that has been added. With the release of version 2.0.1 there will be a new filter hook that can be used to add a path for now. We’d like to potentially build upon what is used for rewriting in the future but that would need to come in a new branch as it would require more development time.

    In version 2.0.1 there will also be a new filter hook to allow assets in the admin to be rewritten.

    Once this new version is released I’ll follow up with links to the related hooks documentation.

    Anonymous User 16850768

    (@anonymized-16850768)

    The cdn_enabler_exclude_admin filter hook can be used to allow admin pages to be rewritten.

    The cdn_enabler_contents_after_rewrite filter hook can be used to add a path after the CDN hostname.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CDN URL Issue. + Rewrite Admin Assets’ is closed to new replies.