WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/06/2004 02:18:37 AM (15 years ago)
Author:
rboren
Message:

Page/subpage URIs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-permalink.php

    r1689 r1752  
    3232}
    3333
     34generate_page_rewrite_rules();
     35
    3436if ( (!file_exists($home_path.'.htaccess') && is_writable($home_path)) || is_writable($home_path.'.htaccess') )
    3537    $writable = true;
     
    4244    $usingpi = false;
    4345
    44 if ( $writable && !$usingpi && $is_apache ) {
    45     $rules = explode("\n", mod_rewrite_rules($permalink_structure));
    46     insert_with_markers($home_path.'.htaccess', 'WordPress', $rules);
    47 }
     46save_mod_rewrite_rules();
    4847?>
    4948
Note: See TracChangeset for help on using the changeset viewer.