Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#19084 closed defect (bug) (duplicate)

IIS Express multisite rewrite issue.

Reported by: volcanicpixels's profile volcanicpixels Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:



I am using the IIS Express which is bundled with WebMatrix 2 beta and have attempted to setup a multisite installation. It would appear that the rewrite rules are not correctly being parsed.

<rule name="WordPress Rule 5" stopProcessing="true">
                    <match url="^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*)" ignoreCase="false" />
                    <action type="Rewrite" url="{R:2}" />

Looks correct, however, unlike one would expect: rather than rewrite http://domain/blahblah/wp-admin/ to http://domain/wp-admin/ it actually rewrites it to http://domain/admin. I appreciate that this is a bug with IIS Express and not WordPress but by changing the rewrite rule to:

<rule name="WordPress Rule 5" stopProcessing="true">
                    <match url="^[_0-9a-zA-Z-]+/((wp-content|wp-admin|wp-includes).*)" ignoreCase="false" />
                    <action type="Rewrite" url="{R:2}" />

it would work with IIS Express.

Change History (2)

#1 @duck_
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Fixed in [19018], see #17708.

#2 @volcanicpixels
13 years ago

Thanks for that duck - didn't find that with search.

Note: See TracTickets for help on using tickets.