Feature request: If a non-logged-in user requests a deep link (like http://site.com/blogname/some/specific/post ) on a blog with privacy set to “logged-in users only” or higher, then after they log in, they should be redirected to the URL they originally requested. (Login plugins should also have access to make this redirect happen.)
Currently, users need to be redirected to some predefined page. In wp_authenticate the original url request data is not available in e.g. HTTP_REFERER and e.g. REQUEST_URI will just have wp-login.php. (I posted about this here with more technical detail.)
Rationale: Now that WPMU is rolled in to WP3, sites can be truly massive, with thousands of users with access to scores of different blogs, and users are bookmarking and emailing deep links. They’ve also become accustomed, on other sites, to being redirected to their originally requested url after login. So this would be a really nice feature to have for them.
Thanks for your time, please let me know if I should clarify anything, or if I missed a post on a similar topic.
- The topic ‘request: after login, redirect to originally requested url’ is closed to new replies.