filter redirect url #462
fixes #923
adds load hooks for all pages