Regarding AMP to non-AMP in .htaccess

#1
Hello.
I have numerous web sites with HostAramada, which might be using the LiteSpeed Server.
I would really like to redirect AMP to non-AMP.
When i take advantage of a plugin like RankMath it works.

However when I placed the code stated in .Htacess published on numerous boards, it doesnt. Work.
I also contacted the web hosting support. However to little need.
Could you please inform what is incorrect.

I am using this redirection code in .Htaccess.

Code:
RewriteCond %REQUEST_URI (.+)/amp(.*)$
RewriteRule ^ %1/ [R=301,L]
Why its no longer running and what's the precise code for redirection?
 
Top