WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#13072 closed defect (bug) (fixed)

IIS rewrite rules are wrong

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

Description

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)

comment:1 pbearne4 years ago

  • Milestone changed from Unassigned to 3.0

comment:2 pbearne4 years ago

  • Cc pbearne added

comment:3 pbearne4 years ago

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

fixed in trunk

Note: See TracTickets for help on using tickets.