[wp-trac] [WordPress Trac] #28246: Permalink Options page throws errors on Windows IIS

WordPress Trac noreply at wordpress.org
Wed Jun 17 12:45:37 UTC 2015

#28246: Permalink Options page throws errors on Windows IIS
 Reporter:  pkmnfrk       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Permalinks    |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration

Comment (by rmcneill):

 Windows NT NT10-STL 6.2 build 9200 (Unknow Windows version Datacenter
 Edition) i586
 Intel64 Family 6 Model 44 Stepping 2, GenuineIntel

 Above taken from `phpinfo()`.

 Running WordPress 4.2.2.

 I had this same error, I applied the mentioned `stripslashes()` fix and
 resolved the error. I also rolled the change back then retested, still got
 the same error.
 Warning: DOMDocument::load(): I/O warning : failed to load external entity
 "D://home//domain//subroot//ray/web.config" in
 D:\home\domain\subroot\ray\wp\wp-admin\includes\misc.php on line 519
 Reapplied `stripslashes()` fix and set the permalink option "Month and
 name" and all is working fine.

 One additional note, WordPress did not create the `web.config` for me, may
 just be a permission thing. After some Googling I manually created the
 <?xml version="1.0" encoding="UTF-8"?>


     <customErrors mode="Off"/>

         <rule name="wordpress" stopProcessing="true">
           <match url=".*" />
           <conditions logicalGrouping="MatchAll">
             <add input="{REQUEST_FILENAME}" matchType="IsFile"
 negate="true" />
             <add input="{REQUEST_FILENAME}" matchType="IsDirectory"
 negate="true" />
           <action type="Rewrite" url="index.php" />

 My `web.config` accuracy aside and `stripslashes()` in place, this seems
 to be working fine for me now.

Ticket URL: <https://core.trac.wordpress.org/ticket/28246#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list