#26949 closed defect (bug) (worksforme)
when upgrading a WordPress site installed in a subfolder we get a 404 error page
| Reported by: | jaumearagay | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Upgrade/Install | Version: | 3.8 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
When upgrading a WordPress site installed in a directory I get a 404 error page because WP goes to:
http://mydomain.ext/wp-admin/update-core.php
instead of going to:
http://mydomain.ext/my-wp-install-folder/wp-admin/update-core.php
So it seems WP uses Site address (URL) instead of WordPress address (URL) as set on the General panel.
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The form submits to
update-core.phpin the current working directory, which for you should bemy-wp-install-folder/wp-admin/.See https://core.trac.wordpress.org/browser/tags/3.8/src/wp-admin/update-core.php#L40
I also did a test of a sub-folder install https://cloudup.com/cmWE6Ctfboi for 3.8 and 3.8.2 https://cloudup.com/cANFl09TTAG and got an upgrade https://cloudup.com/cDNHpSAm2s9
I don't think this is a bug in core. What may have caused this for you, not sure. But, thanks for helping out!