Answer the question
In order to leave comments, you need to log in
How to use the same styles from a domain on subdomains?
There is a multilingual site. Different versions lie on subdomains.
How to organize the connection of styles and fonts from the main domain so as not to copy files to each hosting directory?
If I link like this, http://website.site/css/style.css
then CORS is blocked.
Is it possible to allow something similar in .htaccess and how?
Answer the question
In order to leave comments, you need to log in
You can download everything from the same domain.
If the sites are on the same server, then you can make a symlink. Or set up a web server for proxying. Or at least automatically copy the css file during deployment.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question