Fixed non-ajax redirect address generation rule.