Opened 13 years ago
Closed 13 years ago
#17243 closed defect (bug) (fixed)
wp_login_form: default for redirect leads to 404 on site in sub-folders
Reported by: | esmi | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Template | Keywords: | has-patch |
Focuses: | Cc: |
Description
When using wp_login_form in a site in a sub-folder (eg. /wordpress), the default redirect parameter (site_url( $_SERVERREQUEST_URI? )) causes the redirect to duplicate the sub-folder in the url eg: http://example.com/wordpress/wordpress/
Replicated on 3.1.1 and 3.2 bleeding on 2 separate servers.
Attachments (1)
Change History (8)
Note: See
TracTickets for help on using
tickets.
$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']