New Landing How can we help? Atelier Cart Icon not displaying on secondary English domain (using WPML)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #231334
    Enrico
    Member
    Post count: 37

    Hello

    I’am writing regarding a problem that occurs when acessing http://www.designground.com which a secondary domain linked to the primary domain http://www.designground.it via WPML.

    I am having problems in visualising the Cart icon and Add to cart icon – at first I thought was a server problem but they suggested me to get in touch with you.

    This is what they told me:

    I have checked the case and noticed the following errors in Java console:

    Code:
    2(index):1 Font from origin ‘http://www.designground.it’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://designground.com’ is therefore not allowed access.

    Please let me know

    Thank you
    Stefania

    Attachments:
    You must be logged in to view attached files.
    #231552
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please add this to your .htaccess file:

    <IfModule mod_headers.c>
    <FilesMatch "\.(svg|ttf|otf|eot|woff|woff2)$">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
    </IfModule>
    #231720
    Enrico
    Member
    Post count: 37

    Ok, thanks David. All sorted now.

    Best
    Stefania

    #232105
    David Martin – Support
    Moderator
    Post count: 20834

    Great, no problem.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.