[wp-trac] [WordPress Trac] #39866: faulty .htaccess file being created

WordPress Trac noreply at wordpress.org
Mon Feb 13 21:17:07 UTC 2017


#39866: faulty .htaccess file being created
-----------------------------+----------------------
 Reporter:  dutchovendoctor  |       Owner:
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Rewrite Rules    |     Version:  4.7.2
 Severity:  normal           |  Resolution:  invalid
 Keywords:                   |     Focuses:
-----------------------------+----------------------

Comment (by dutchovendoctor):

 thanks.  It's a Hostmonster packaged installation.  I'll talk to them.

 Replying to [comment:2 swissspidy]:
 > Hey there,
 >
 > By default WordPress really only creates these .htaccess rules.
 >
 > {{{
 > RewriteEngine On
 > RewriteBase /
 > RewriteRule ^index\.php$ - [L]
 > RewriteCond %{REQUEST_FILENAME} !-f
 > RewriteCond %{REQUEST_FILENAME} !-d
 > RewriteRule . /index.php [L]
 > }}}
 >
 > Anything else is not standard WordPress stuff. In your example, like
 `ExpiresByType` or `RewriteRule ^(.*)$ /wp-content/endurance-page-
 cache/$1/_index.html [L]`  is caused by plugins. Most likely by the
 `endurance-page-cache` plugin, which appears to be one installed on
 BlueHost, see https://github.com/bluehost/endurance-page-cache.
 >
 > In this case, I suggest you to talk to your host about it.
 >
 > In the future, the WordPress.org support forums at wordpress.org/support
 are better suited for questions like these.
 >
 > Cheers!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39866#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list