[wp-trac] [WordPress Trac] #27624: Add a filter to override the location of htaccess file

WordPress Trac noreply at wordpress.org
Tue Apr 1 17:44:18 UTC 2014


#27624: Add a filter to override the location of htaccess file
-------------------------------+-----------------------------
 Reporter:  Denis-de-Bernardy  |      Owner:
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  General            |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 It's a bit convoluted to override the location of the htaccess file when
 WP is installed in a subfolder and fails to identify that it is so. One
 basically needs to override the entire `save_mod_rewrite_rules()` function
 after disabling the default call.

 Would it be possible to add a filter in `save_mod_rewrite_rules()`, or
 perhaps even more ideally in `get_home_path()`, so as to be able to do
 this in a simpler manner?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27624>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list