301 redirect not working

It should, if you have, however you have a service worker installed on your site which makes it much harder to debug. You should consider whether this is actually helping or hindering you.