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
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′ 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
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!
Here is the link to the recording
https://1drv.ms/v/s!Akul2ygARwfdh5U8brNNcAGg2gOo3w?e=HjXNBW
-
This reply was modified 4 years by
dimitrisv.
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!