WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20746, comment 6


Ignore:
Timestamp:
10/02/2013 04:39:37 PM (7 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20746, comment 6

    initial v1  
    77
    88I believe this is because after this rule is applied:
    9 
     9{{{
    1010RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    11 
     11}}}
    1212Apache tries to rewrite (internally) from "wp-content/uploads/2013/10/test.jpg" to "/wp-content/uploads/2013/10/test.jpg" with a beginning slash. Then the aforementioned rule gets applied again because it matches - creating a loop.
    1313