Comments (8)
no, it's a wordpress plugin - so download and put it in wp-content/plugins/ or clone the repo from the plugins directory
i need to add some more info to the README like installation instructions
from wp-h5bp-htaccess.
forgive if this exposes how much of a wordpress noob i am - but, the extracted folder is in my wordpress plugins directory but the code doesn't appear to execute and my .htaccess doesn't change, nor can I get the permissions warning to show.
what am I doing wrong? I really hope this can be automatic again - 90% of the reason I started using roots was due to html5 boilerplate integration in the theme ;) have spotted a couple more html5bp plugins for wp but not sure I trust them & they won't be as roots friendly with what they've left in/commented out.
btw, anyone with the same issue - I think it's safe to copy the .htaccess rules into .htaccess manually from the 'h5bp-htaccess' file.
from wp-h5bp-htaccess.
@mikeunb I've just included it my company's WordPress boilerplate function.php includes. You could just copy and paste into functions.php if you don't separate custom functions into include files.
include_once('wpbp-includes/wp-h5bp-htaccess-master/wp-h5bp-htaccess.php');
from wp-h5bp-htaccess.
@mikeunb did you enable the plugin in the wp admin after putting it in your plugins folder?
from wp-h5bp-htaccess.
Yep, I activated it... and deactivated/reactivated a few times. Looked around for another setting but couldn't see one.
It's just a .php file with two functions that I assume should execute when activated am I right? Not happening for me!
.htaccess was chmod 644 and W3 total cache and roots rewrite rules (for /assets) copied into .htaccess automatically.
from wp-h5bp-htaccess.
@interactivellama thanks for that, its still an extra step that could easily be eliminated though surely?
from wp-h5bp-htaccess.
I'm trying to figure out how to integrate it to my composer.json in my bedrock installation. May be a first release-tag will make things easier.
What would be the best way to do it @retlehs ?
from wp-h5bp-htaccess.
@leomoreno should be good now, sorry that took a while!
from wp-h5bp-htaccess.
Related Issues (10)
- Is this working? HOT 6
- .htaccess file is corrupted after WordPress update HOT 5
- Release New Version with Bugfixes HOT 3
- Placement of Directives HOT 5
- htaccess in subfolders being blocked
- License.txt? HOT 4
- Conflict Plugin Name with other WP H5BP .htaccess Plugins HOT 3
- Add rules to secure wp-includes? HOT 1
- Vary Accept Encoding HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-h5bp-htaccess.