@jonatandor35 I just made some changes and it is working now, but not fully.
I was using wix-location so that’s why I was getting a 404 error (found it in the website log). I removed the wix-location code, and it is working now.
Now, since I cannot use Wix Location, I was wondering how can I redirect the user? I tried setting a location element in header to the URL I want the user to redirect to, but it is not working.
In simple terms, I have a function abc and I want the function to redirect the user to another web page on my website. How is this possible?
Thank you!