i have a web.config of iis server and i need to convert the redirect to apache [.htaccess] I try to do this and I success to get this:
RewriteRule ^wp-content/uploads/.+?\.(jpe?g|png|gif|svg)$ https://XX/YY%{REQUEST_URI} [R=301,L]
I get redirect to "HTTPS/xx/yy/wp-content/uploads" but I need to get this path: "HTTPS/xx/yy/uploads" - same without wp-content. how can I do it? Thanks!