Changes between Initial Version and Version 1 of Ticket #20746, comment 16
- Timestamp:
- 02/24/2014 10:57:17 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20746, comment 16
initial v1 5 5 In the full htaccess above the rewrite condition 6 6 7 `RewriteCond %{REQUEST_URI} ^/wp-(content|admin|includes).*$` 7 {{{ 8 RewriteCond %{REQUEST_URI} ^/wp-(content|admin|includes).*$` 9 }}} 8 10 9 will only be met if the requested path begins with //. The RewriteBase directive tells the rewrite engine to start rewriting after the base value.11 will only be met if the requested path begins with `//`. The RewriteBase directive tells the rewrite engine to start rewriting after the base value. 10 12 11 13 Secondly, that .htaccess isn't what I suggested to Pippin. What I suggested was 12 14 13 ` 15 {{{ 14 16 RewriteCond %{REQUEST_URI} !^wp-(content|admin|includes).*$ 15 17 RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] 16 ` 18 }}} 17 19 18 20 Looking at the original rule it would probably be easier to remove the ? from the original rule 19 21 20 ` 22 {{{ 21 23 RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L] 22 ` 24 }}}