Make WordPress Core

Ticket #10743: 10743.patch

File 10743.patch, 515 bytes (added by stephdau, 14 years ago)

patch for /wp-includes/rewrite.php

  • rewrite.php

     
    16511651                $rules = "<IfModule mod_rewrite.c>\n";
    16521652                $rules .= "RewriteEngine On\n";
    16531653                $rules .= "RewriteBase $home_root\n";
     1654                $rules .= "RewriteRule ^&(.*)\$ \$1 [R=301,L]\n";
    16541655
    16551656                //add in the rules that don't redirect to WP's index.php (and thus shouldn't be handled by WP at all)
    16561657                foreach ( (array) $this->non_wp_rules as $match => $query) {