[ticket/11336] Adds 301 info to redirect

PHPBB3-11336