[wp-trac] [WordPress Trac] #13072: IIS rewrite rules are wrong
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 21 16:00:53 UTC 2010
#13072: IIS rewrite rules are wrong
---------------------------+------------------------------------------------
Reporter: pbearne | Owner: ryan
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: Rewrite Rules | Version: 3.0
Severity: blocker | Keywords: IIS7 Rewrite Upgrade
---------------------------+------------------------------------------------
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."
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13072>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list