# Middleware executes twice when using navigateTo
Page that gets redirected via navigateTo in a middleware still gets executed
3.xbugpages🔨 p3-minor
Route middleware run twice on the server after redirect
pending triage
Setup function of the destination page after redirect with navigateTo invoked twice
good first issue3.xbug🍰 p2-nice-to-have✨ good reproduction
In CSR app, `navigateTo` (with `external:true`) redirection from route middleware triggers page script setup
good first issue3.xbugpages🔨 p3-minor✨ good reproduction
Page is rendered even if `fetch` called `redirect`
available soon2.x
Page setup and middleware running twice after SSR middleware redirect
good first issue3.xbug🔨 p3-minor✨ good reproduction
When using `redirect`, `async nuxtServerInit` is not being executed
stalepending triage2.x