Redirect to last page after signin
I’ve integrated my WordPress (2.5) install with my bbPress (0.9) install… and have the signin for both routing through the bbPress bb-login.php.
There are signin fields at the top of every page:
* http://www.weddingbee.com (the WordPress blog)
* http://boards.weddingbee.com (the bbPress forum, on a subdomain)
When users signin to a page on the boards, they stay on whatever page they are on. However… when user signin through the blog… they get sent to boards.weddingbee.com (the bbPress install frontpage). This annoys some users, because they have to navigate back to whatever blog page they were on in order to comment.
I looked at the bb-login code, and there seem to be references to keeping track of the referer and redirecting using redirect_to. Does anyone know how to use those, so that when my users sign into a page… they stay on that page, rather than being redirected to the boards frontpage?
You must be logged in to reply to this topic.