Giter VIP home page Giter VIP logo

Comments (8)

retlehs avatar retlehs commented on August 16, 2024

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.

mikeunb avatar mikeunb commented on August 16, 2024

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.

interactivellama avatar interactivellama commented on August 16, 2024

@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.

retlehs avatar retlehs commented on August 16, 2024

@mikeunb did you enable the plugin in the wp admin after putting it in your plugins folder?

from wp-h5bp-htaccess.

mikeunb avatar mikeunb commented on August 16, 2024

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.

mikeunb avatar mikeunb commented on August 16, 2024

@interactivellama thanks for that, its still an extra step that could easily be eliminated though surely?

from wp-h5bp-htaccess.

leomoreno avatar leomoreno commented on August 16, 2024

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.

retlehs avatar retlehs commented on August 16, 2024

@leomoreno should be good now, sorry that took a while!

from wp-h5bp-htaccess.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.