SvelteKit goto goto() is client-side navigation from a click handler. Use an <a> when you already know the href, and redirect() when the server should send a 3xx.