Last fixes with redirects and main page