redirect to root from categories index if http request