Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 0 voices.

Last updated by Dražen 1 month, 1 week ago.

Author Posts
March 12, 2025 at 8:31 am #16805554

webs

Background of the issue:
I am trying to display custom fonts in Persian and Arabic on my site hidden link. However, the fonts are sometimes not displayed due to a CORS policy issue.

Symptoms:
Access to font at 'hidden link' from origin 'hidden link' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Questions:
How can I resolve the CORS policy issue to display custom fonts in Persian and Arabic?
What steps should I take to allow font access from fa.sgpco.com?

March 12, 2025 at 12:22 pm #16806960

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

1) Please check next errata if you are adding them via Elementor

https://wpml.org/errata/elementor-custom-fonts-cause-cors-policy-issue-with-different-domains-per-language/

2) Otherwise, we recommend reaching out to your web hosting provider and requesting them to set the CORS policy specifically with the
Access-Control-Allow-Origin header. This adjustment will allow your 2nd domain to correctly load content from the intended source domain. For detailed guidance on setting CORS policies, please visit: hidden link

Regards,
Drazen

The topic ‘[Closed] Not displaying fonts in Arabic and Persian’ is closed to new replies.