Opened 11 years ago
Closed 11 years ago
#13072 closed defect (bug) (fixed)
IIS rewrite rules are wrong
Reported by: |
|
Owned by: |
|
---|---|---|---|
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."
fixed in trunk