Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Move every core directory one folder back #52

Open
meletisf opened this issue Jul 19, 2015 · 1 comment
Open

Move every core directory one folder back #52

meletisf opened this issue Jul 19, 2015 · 1 comment

Comments

@meletisf
Copy link

You should move the core directories one folder back. Having them where the webserver points is a very VERY bad idea. If you dont want, atleast update the .htaccess accordingly to block access.

@knackrack615
Copy link

You can easely achieve that by adding the following code to your htaccess

RewriteRule ^(themes/bootstrap/index.html) - [F,L,NC]
RewriteRule ^(plugins/) - [F,L,NC]
RewriteRule ^(pages/) - [F,L,NC]
RewriteRule ^(cache/) - [F,L,NC]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants