Apache rewrite rule for mapping content path by hiding the project structure from end users.
We have a site siteA.com and when someone tries to access siteA.com/content/siteA/us/en/page1.html, it should redirect them to siteA.com/page1.html hiding the content path /content/siteA/us/en/* .
We need to add redirect rule so all traffic trying to access /content/siteA/us/en/* should go through main URL and hide the project structure.
Could someone please help with the redirect rule.
I already have this rule added - RewriteRule ^/(.*)/$ /content/siteA/us/en/$1.html [PT,L]