Redirect page to first post in custom post type I spotted the missing , myself and that had no effect. The query itself is outputting the permalink of the current page and not of the single post type
Mar 20
comment
Redirect page to first post in custom post type This seems to just try and redirect the page back on itself... I echoed the $redirect_url and it echoed the current page permalink and not the post type