Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author iberezansky

    (@iberezansky)

    You need to allow CORS for PDFs. Add in your .htaccess file (in the root folder of your website)

    # CORS for PDFs
    <IfModule mod_headers.c>
    <Files ~ ".*\.pdf$">
    Header add Access-Control-Allow-Origin "*"
    Header add Access-Control-Allow-Methods "GET"
    Header add Access-Control-Allow-Headers: "Range"
    Header add Access-Control-Expose-Headers: "Accept-Ranges, Content-Encoding, Content-Length, Content-Range"
    </Files>
    </IfModule>
    Thread Starter webittest

    (@webittest)

    Hi,

    Already tested this, but it still isn’t working.

    I’ve tried to remove the pdf and import it again etc but still the same error.

    Plugin Author iberezansky

    (@iberezansky)

    Just checked your page it is working fine now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Failed to fetch (WPML)’ is closed to new replies.