Move HTML5 Boilerplate's .htaccess to a plugin
https://github.com/retlehs/wp-h5bp-htaccess
This commit is contained in:
16
doc/lib.md
16
doc/lib.md
@@ -31,22 +31,6 @@ If you don't want to use one of the features, either comment out the line or rem
|
||||
|
||||
`roots_display_sidebar()` is used to define which pages shouldn't get the sidebar. By default, the 404, front `front-page.php` and `template-custom.php` templates are full width. If you would like to remove the sidebar from additional pages, add in the appropriate conditional or page template name.
|
||||
|
||||
### h5bp-htaccess
|
||||
|
||||
This file contains HTML5 Boilerplate's `.htaccess` which is automatically added by `htaccess.php` if enabled in `config.php`. There are a few changes to the H5BP version:
|
||||
|
||||
* Added block to access WordPress files that reveal version information (`wp-config.php`, `readme.html`, `license.txt`)
|
||||
* Commented out expires headers (we recommend the use of [W3 Total Cache](http://wordpress.org/extend/plugins/w3-total-cache/))
|
||||
* Commented out ETag removal (we recommend the use of [W3 Total Cache](http://wordpress.org/extend/plugins/w3-total-cache/))
|
||||
* Commented out start rewrite engine (handled by WordPress)
|
||||
* Commented out suppress/force www (handled by WordPress)
|
||||
* Commented out `Options -MultiViews` (causes a server 500 error on most shared hosts)
|
||||
* Commented out custom 404 page (handled by WordPress)
|
||||
|
||||
### htaccess.php
|
||||
|
||||
This file handles the HTML5 Boilerplate `.htaccess`.
|
||||
|
||||
### init.php
|
||||
|
||||
This file runs the initial theme setup and defines helper constants for later use
|
||||
|
||||
Reference in New Issue
Block a user