[BUGFIX] Invalid constant in the domain redirect function