Make WordPress Core

Opened 14 years ago

Closed 13 years ago

#203 closed defect (bug) (fixed)

Install fails if subdirectory is used

Reported by: ringmaster Owned by: matt
Milestone: Priority: normal
Severity: major Version:
Component: Administration Keywords:
Focuses: Cc:


The $guessurl variable set in install.php is used to set the main blog directory during the install. It is formed from the $REQUEST_URI, which presumably is the request_uri of the install page, but it seems this variable is never set (fyi-XP IIS). It's a coincidence that it works when installing to the root.

If you install WordPress to a subdirectory, all sorts of bad things happen, the first two being that the admin login form can't reference the correct CSS file and then on submission redirects to a non-existant page.

Change History (4)

#3 @anonymousbugger
14 years ago

The previous bugnote doesn't seem to be the same issue, but could be among a group of many problems that Windows hosts would encounter.

A documented list of requirements/*good* instructions for installing on Windows servers might be helpful.

#4 @matt
13 years ago

  • fixed_in_version set to 1.5
  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 20
  • Status changed from new to closed

REQUEST_URI is no longer used in install.

Note: See TracTickets for help on using tickets.