[Plugin: PB Responsive Images] IIS configuration
-
Here’s some documentation you can add to help users on IIS avoid the same configuration headaches I had:
Add this to your web.config:
<rule name="wordpress-slir" stopProcessing="true"> <match url="^slir(.*)$" ignoreCase="false"/> <action type="Rewrite" url="/wp-content/plugins/pb-responsive-images/slir/index.php?r={R:1}" appendQueryString="false"/> </rule>In slir/core/slirconfigdefaults.class.php, change these variables:
public static $enableRequestCache = false; public static $documentRoot = "C:\\DWASFiles\\Sites\\yoursitename\\VirtualDirectory0\\site\\wwwroot";This is for hosting on Windows Azure web sites. The path may vary. Also, changing slirconfigdefaults.class.php feels like a hack. If anyone knows the proper way to override these defaults, please let me know.
Finally, even with these changes, only images that were linked with an absolute URL were made responsive. To get relatively linked URLs to be responsive, perhaps an additional configuration change is required.
The topic ‘[Plugin: PB Responsive Images] IIS configuration’ is closed to new replies.