handle redirects for listing categories of a page