Answer the question
In order to leave comments, you need to log in
How to redirect folders in .htaccess?
On the ABcom site, css is loaded from ABcom/css. How to use htaccess to load css from B.com/css?
Answer the question
In order to leave comments, you need to log in
Here is an example from practice, all styles will be loaded from another site
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule [%,a-zA-Z0-9/-/+/()]+[.]{1}[css] http://B.com/%{REQUEST_URI}
</IfModule>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question