/amp/ was showing up at the end of all of my URLS incorrectly. I have fixed it, but I now have a mess. I have many urls with /amp/ on search that I need to redirect to a url with the /amp/ removed from the end. How would I do this with .htaccess?
I tried this:
RewriteEngine On
RewriteRule ^(.*)/amp/?$ /$1/ [L,R=301]
And it does not seem to work.