[wp-trac] [WordPress Trac] #43678: Add indents to default .htaccess rules

WordPress Trac noreply at wordpress.org
Mon Apr 2 21:27:15 UTC 2018


#43678: Add indents to default .htaccess rules
------------------------------+-----------------------------
 Reporter:  sebastian.pisula  |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Rewrite Rules     |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 I think that should be:

 {{{
 # BEGIN WordPress
 <IfModule mod_rewrite.c>
         RewriteEngine On
         RewriteBase /wordpress.dev/
         RewriteRule ^index\.php$ - [L]
         RewriteCond %{REQUEST_FILENAME} !-f
         RewriteCond %{REQUEST_FILENAME} !-d
         RewriteRule . /wordpress.dev/index.php [L]
 </IfModule>
 # END WordPress
 }}}

 instead

 {{{
 # BEGIN WordPress
 <IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /wordpress.dev/
 RewriteRule ^index\.php$ - [L]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /wordpress.dev/index.php [L]
 </IfModule>


 # END WordPress
 }}}

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


More information about the wp-trac mailing list