Global HOOK to rewrite URL added