I am redirecting several folders with .htaccess, including the css folder with all project styles. When I add this folder to the redirect, the project does not recognize all the styles (404 error appears)
This is the folder with all the files and I want to redirect it to another link. The idea is to avoid seeing this directory when you enter by url (ex: 'myproject.com/css');
<IfModule mod_rewrite.c>
Redirect 301 /learn/course/view/1/curso-de-ejemplo /cas
Redirect 301 /coaching /cas
Redirect 301 /uploads /cas
Redirect 301 /coaching /cas
Redirect 301 /fijos /cas
Redirect 301 /docs /cas
Redirect 301 /cal /cas
Redirect 301 /datatables /cas
Redirect 301 /bootstrap3 /cas
Redirect 301 /img /cas
Redirect 301 /v2/convertdone.log /cas
RedirectMatch 301 ^/css/(.*)$ /cas
RedirectMatch 301 ^/bundles/(.*)$ /cas
</IfModule>
Any ideas or alternatives that you can use?