Website getting redirected to third party betting websites on mobile devices

Found a solution.
You need to find out the first url to which the website gets redirected to (in my case it was wp54trk dot com)
Then you need to delete the particular website string from “content_for_header” in theme.liquid file

I hope this helps