Making detect_region redirect to full URL