Changeset 13676
- Timestamp:
- 03/11/2010 10:58:43 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network.php
r13675 r13676 284 284 $htaccess_file = 'RewriteEngine On 285 285 RewriteBase ' . $base . ' 286 RewriteRule ^index\.php$ - [L] 286 287 287 288 # uploaded files … … 304 305 ?> 305 306 <li><p><?php printf( __( 'Add the following to your <code>.htaccess</code> file in <code>%s</code>, replacing other WordPress rules:' ), ABSPATH ); ?></p> 306 <textarea class="code" readonly="readonly" cols="100" rows="<?php echo $vhost ? 1 0 : 15; ?>">307 <textarea class="code" readonly="readonly" cols="100" rows="<?php echo $vhost ? 11 : 16; ?>"> 307 308 <?php echo wp_htmledit_pre( $htaccess_file ); ?> 308 309 </textarea></li> -
trunk/wp-includes/rewrite.php
r13596 r13676 1684 1684 $rules .= "RewriteEngine On\n"; 1685 1685 $rules .= "RewriteBase $home_root\n"; 1686 $rules .= "RewriteRule ^index\.php$ - [L]"; // Prevent -f checks on index.php. 1686 1687 1687 1688 //add in the rules that don't redirect to WP's index.php (and thus shouldn't be handled by WP at all)
Note: See TracChangeset
for help on using the changeset viewer.