How to change the path to the stylesheet if it is at the root of the site?

Hi all.
Tell me how you can configure the path to the folder that seemed to be what she fundamentally
I have a project developed by us CMS and I created a separate folder for the template site "themes"
Now I have to appeal was direct though the website lies at the root directory

For example
Let in fact "site.ru/site/themes/css/style.css"
That site displayed and worked on the way "site.ru/css/style.css" - so we hide the data "site/themes/"

Maybe you can use .htaccess or by PHP
Preferably with examples so it will be clear and fewer questions
April 4th 20 at 00:42
1 answer
April 4th 20 at 00:44
RewriteRule ^/site/themes/(.+)$ http://site.ru/$1 [R=301,L]

Find more questions by tags NginxApacheHTML