Solving the cookie-free domains issue – issue with newspaper.woff etc.

Posted in: Newspaper
Post count: 162

As I optimise the site so that it ranks well in the various meters I followed the advice to create a subdomain that will host all my static content.

https://www.keycdn.com/support/how-to-use-cookie-free-domains

Everything went fine, except one thing.

so I have the

https://pathologia.ecode.gr/

and the https://staticpathologia.ecode.gr/ that stores my files

The sad thing with fonts is that they have to be excluded as they present CORS issues.

I hosted my fonts using these directives:

echo “<link href=’https://pathologia.ecode.gr/wp-content/themes/Pathologia/assets/plugins/global/fonts/IBM_Plex_Sans/IBMPlexSans-Regular.woff2&#8242; rel=’preload’ as=’font’ type=’font/woff’ crossorigin>”;

in my functions.php file.

But I do not know how to best make the theme not looking for the newspaper.woff in this https://staticpathologia.ecode.gr/themes/Newspaper/images/icons/newspaper.ttf?19 but in the “”dynamic” address of the site.

Please advise.

Thank you.

  • This topic was modified 4 years by dimitrisv. Reason: spelling
Post count: 21065

Hello!

In order to avoid misunderstandings, please provide more information about the issue, screenshots or a video.

A solution for sending a screenshot/video is this:
Download, capture, send: https://www.techsmith.com/jing-tool.html
After making the screenshot, you will have a link, paste it here.

Thank you!

Post count: 162

Thanks Betina, here is the video. I hope it explains it.

I realised that the video has no sound and I will repost it.

  • This reply was modified 4 years by dimitrisv.
  • This reply was modified 4 years by dimitrisv.
Post count: 162

Here is the link to the recording

https://1drv.ms/v/s!Akul2ygARwfdh5U8brNNcAGg2gOo3w?e=HjXNBW

  • This reply was modified 4 years by dimitrisv.
Post count: 21065

Hello!

We would like to investigate more, send an email at contact@tagdiv.com and provide wp-admin and Cpanel access. Also paste a link to this topic so we can easily identify you.
Let us know and we will gladly assist you.

Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.