[buddypress-trac] [BuddyPress] #2299: Improve support for IIS-style Wordpress URLs

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Apr 9 15:59:03 UTC 2010

#2299: Improve support for IIS-style Wordpress URLs
 Reporter:  bsweeney     |       Owner:                
     Type:  enhancement  |      Status:  new           
 Priority:  normal       |   Milestone:  Future Release
Component:  Core         |    Keywords:  iis           
 I'm working to implement BuddyPress on a Windows server using IIRF to
 support URL rewriting. There is an issue, however, in the way IIRF passes
 URLs back to IIS for further processing. When BuddyPress looks at the URL
 it sees the index.php portion and includes it as part of the path.

 A simple patch to bp-core-catchuri.php seems to fix this, see the attached
 diff. I think modification would move BuddyPress closer to full support
 for IIS. The fix is rather simplistic in that it looks for the presence of
 index.php. It might be a good idea to make this an optional setting.

 Ideally, I would like to also see BuddyPress modified to take into account
 the permalink structure used by WordPress on IIS when no URL rewriting is
 available. That would require the inclusion of index.php at the front of
 any BuddyPress-generated URLs. This could be enabled by the same setting
 that enables the above fix.

 I plan to stick with IIRF, but these changes might help others attempting
 to implement BP on IIS.

Ticket URL: <https://trac.buddypress.org/ticket/2299>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list