Registering redirects to appropriate pages.