Opened 15 years ago
Closed 15 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Template | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']