New Landing How can we help? Atelier No 'Access-Control-Allow-Origin'

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #273878
    Rainoldi
    Member
    Post count: 16

    Hi,

    How can I fix this error?? :

    JQMIGRATE: Migrate is installed, version 1.4.0
    4(index):1 Font from origin 'http://www.danzireeds.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://danzireeds.it' is therefore not allowed access.
    ping?client_id=712681982206086&domain=danzireeds.it&origin=1&redirect_uri=http%3A%2F%2Fstaticxx.fac…:1 Impossibile caricare l'URL: Il dominio di questo URL non è incluso nel dominio dell'app. Per poter caricare questo URL, aggiungi tutti i domini e i sottodomini della tua app al campo App Domains nelle tue impostazioni.
    2(index):1 Font from origin 'http://www.danzireeds.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://danzireeds.it' is therefore not allowed access.

    I tried to insert in .htacces file this code:

    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin “*”
    </IfModule>

    But every day the problem recurs

    Thanks.

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

    Please test this:

    # Apache config
    <FilesMatch ".(eot|ttf|otf|woff|svg)”>
    	Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
    #273901
    Rainoldi
    Member
    Post count: 16

    HI,
    Thank you for the code, but it doesn’t work.

    I need more assistance.
    Thanks.

    #273905
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    the problem seems to be in your WordPress settings.
    In 1 address you are using www and in the other you don’t.

    these 2 address should be exaclty the same.

    example of my dev server
    https://www.dropbox.com/s/wqokm8oz7frh8h0/Screenshot%202016-06-10%2017.22.49.png?dl=0

    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register