GithubHelp home page GithubHelp logo

htaccess documentation about sage HOT 9 CLOSED

roots avatar roots commented on July 17, 2024
htaccess documentation

from sage.

Comments (9)

retlehs avatar retlehs commented on July 17, 2024

robots.txt stuff is already handled, see: https://github.com/retlehs/roots/blob/master/functions.php#L132

most of that htaccess stuff should be up to each person to decide if they want to include it or not, but i'll look through it some more to see if we can add any of it to roots

from sage.

twaiiiin avatar twaiiiin commented on July 17, 2024

I agree with the fact that each person have to decide, if they want to include it or not.
But I'm searching a way to include some htaccess snipptes without break the all root-htaccess.php
It would certainly be interesting to write some documentation on that.
Thanx for the robots.txt btw.

from sage.

retlehs avatar retlehs commented on July 17, 2024

more:

http://digwp.com/2011/03/htaccess-wordpress-seo-security/
http://www.smashingmagazine.com/2010/07/01/10-useful-wordpress-security-tweaks/

from sage.

twaiiiin avatar twaiiiin commented on July 17, 2024

I already read all these articles. They are very informative.

I have a last quick question. Can I insert new rows into root-htacess.php between the signs :
$ rules .= "\ n # something ";

After that, you can maybe close the issue.
Thanx !

from sage.

retlehs avatar retlehs commented on July 17, 2024

of course you can :)

you can add/edit/remove anything

from sage.

marslizard avatar marslizard commented on July 17, 2024

Hi, not sure where to ask this question but here goes. I've installed and activated roots twice and each time get a error 500 internal server error. I suspect there is something in the .htaccess that is triggering this. I have done 2 clean installs of wordpress and then have installed roots. Each time the installs go fine but once I activate the roots theme, I get the error. Any ideas how I might resolve this?

from sage.

retlehs avatar retlehs commented on July 17, 2024

comment out line 11 on functions.php that calls the h5bp htaccess

https://github.com/retlehs/roots/blob/master/functions.php#L11

that will most likely fix it

from sage.

marslizard avatar marslizard commented on July 17, 2024

Yes, that allowed me to activate the theme.

from sage.

retlehs avatar retlehs commented on July 17, 2024

some webhosts have issues with the default h5bp htaccess

http://groups.google.com/group/html5boilerplate/browse_thread/thread/aced5a55547af549
http://groups.google.com/group/html5boilerplate/browse_thread/thread/afa6e718c87def18

from sage.

Related Issues (20)

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.