WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17708, comment 12


Ignore:
Timestamp:
10/19/11 23:27:06 (4 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17708, comment 12

    initial v1  
    1 IIS parses the regex patterns in a very similar way to mod_rewrite. Actually, if mod-rewrite rule uses this pattern "^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*)", then it may be better to use exact same pattern in IIS for consistency reason. That pattern will work fine in the rewrite rule as long as {R:1} is used. I have just tried that in URL Rewrite module as well. 
     1IIS parses the regex patterns in a very similar way to mod_rewrite. Actually, if mod-rewrite rule uses this pattern `"^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*)"`, then it may be better to use exact same pattern in IIS for consistency reason. That pattern will work fine in the rewrite rule as long as {R:1} is used. I have just tried that in URL Rewrite module as well.