From 6295fe97330cc64b74b303073e30ae245d62c1bb Mon Sep 17 00:00:00 2001
From: lechuck <l3chuck@autistici.org>
Date: Sun, 10 Nov 2013 17:41:17 +0000
Subject: [PATCH] Added commented options in htaccess to completely lock
 writing in wordpress

---
 .htaccess | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.htaccess b/.htaccess
index 55f8fee2b..f5abd6c77 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,5 +1,14 @@
 RewriteEngine On
 RewriteBase /
+#Uncommenbt to lock WP
+
+#RewriteCond %{REQUEST_URI} ^(.*)?register.*$ [OR]
+#RewriteCond %{REQUEST_URI} ^(.*)?wp-comment-post\.php(.*)$ [OR]
+#RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
+#RewriteCond %{REQUEST_URI} ^(.*)?wp-post\.php(.*)$ [OR]
+#RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
+#RewriteRule ^(.*)$ http://cavallette.noblogs.org/2013/11/8487 [R,L]
+
 RewriteRule ^index\.php$ - [L]
 
 #### moved blogs.
@@ -74,4 +83,3 @@ Allow from 127.0.0.1
 </Files>
 
 # END noblogs
-
-- 
GitLab