Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#13072 closed defect (bug) (fixed)

IIS rewrite rules are wrong

Reported by: pbearne's profile pbearne Owned by: ryan's profile ryan
Milestone: 3.0 Priority: high
Severity: blocker Version: 3.0
Component: Rewrite Rules Keywords: IIS7 Rewrite Upgrade
Focuses: Cc:


The IIS rewrite code block still has

<action type="Rewrite" url="wp-content/blogs.php?file={R:2}" appendQueryString="false"/>

in rewrite.php
it needs to be

<action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false"/>

I feel that this change should added to the upgrade script so that if a MU is upgraded the web.config or the .htaccess does not need to be hand coded.

There is a note that tells you to delete blogs.php and edit the rewrite rules this is not going to work we will end with broken sites

"The wp-content/blogs.php file is deprecated. Please remove it and update your server rewrite rules to use wp-includes/ms-files.php instead."

If is felt that it is not OK to just delete blogs.php and change the rules to point to ms-files.php then we just add a button to this message

"The wp-content/blogs.php file is deprecated. Click here to remove and update the rewrite rules."

Change History (3)

#1 @pbearne
14 years ago

  • Milestone changed from Unassigned to 3.0

#2 @pbearne
14 years ago

  • Cc pbearne added

#3 @pbearne
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

fixed in trunk

Note: See TracTickets for help on using tickets.