C
C
chelkaz2016-04-10 11:51:23
htaccess
chelkaz, 2016-04-10 11:51:23

Htaccess images from for subdomain. How to redirect correctly?

I have all the pictures, css, js stored on cdn
The path to them is cdn .site.ru
But everywhere in the design, the template is written as site.ru
How to make a rule so that all pictures, css, js and fonts open on from site.ru and with cdn.site.ru
The rest of their paths are correct: For example
site.ru/css/style.css == cdn .site.ru/css/style.css

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question