Erroe 301 after i messed up htaccess

Hello, i’ve been trying to do hotlink protection but it ended up making my js assets unreachable. It throws out an error 301 with a location header of http://gruppocgs.ml/home/vol2_8/rf.gd/rfgd_REMOVED/gruppocgs.ml/htdocs/forum/js/

The folder in question is: https://gruppocgs.ml/forum/js/tricks.js
I’m also using CloudFlare, so the issue may be on their end.

Could someone help?

Thanks.

The link shows a website page saying “Pagina non trovata” for me.

It’s a 404. I fixed the issue with a workaround.