Redirect options


The resources generated on our sites can be used by third parties. These applications are being affected by the change in the file schema

In the old configuration we had the following structure


in the new cloud the following


Can you implement a rule at the .htaccess file level?
something like this?

RewriteRule ^oldsubdirectory/(.*)$ /newdirectory/$1 [R=301,NC,L]

best regards