WP Super Secure and Fast htaccess
WP Super Secure and Fast htaccess is a wordpress plugin that allow you to automatically insert in your .htaccess file directives that:
- Protect .htaccess From Outside Access
- Protect wp-config.php From Unwanted Access
- Disable Directory Browsing
- Protect From Spam Comments
- Prevent Hotlinking
- Using mod_gzip Compression
- Using mod_deflate Compression
- Disable ETags
- Set Expiration Times For Caching
This plugin was inspired by a link of Francesco Gavello to this impressive post of Antti Kokkonen.

[...] News SitemapOttimizzare WordPress per renderlo più veloceRich Category EditorSociable ItaliaWP Super Secure and Fast htaccessApacheI File di ConfigurazioneSezioni di ConfigurazioneAdvSitemapDonazioni0Versione 1.0.0 di WP [...]
Hi,
is this plugin compatible with WP Super Cache ?
regards
Joe
Yes Joachim this plugin only add some htaccess stuff and you can choose options.
I installed this plugin and not can’t even get to my admin panel, get error 500! How do I back it out?
Simply remove the .htaccess file from your host. This error is probably caused by your host configuration that doesn’t allow use of .htaccess.
Hi Andrea! Thanks for the link and credit, much appreciated – and I guess I should thank Francesco again
Word of warning with preventing hotlinking to the users, I personally don’t use that, as it also prevents from images to show in RSS feeds unless one modifies it a bit. Thus, it should only be added to .htaccess only if you actually have trouble with aggressive hotlinkers (and you are running on limited bandwidth).
Oh and since you’ve turned it into a plugin, a nice feature would be to check if either mod_gzip or mod_deflate is actually enabled on the host, since that requires that little trick I explain on my post to check manually. Sadly, some (shared) hosts don’t run either of them.
Hi Anti! You inspired me…you’re great!
I’m going to write your suggestion in the next release of the plugin.
In the plugin I’m checking if the two modules are active to avoid internal server error.
Thanks a lot for tips and new features
and new idea are welcome.
Hi Andrea,
I’m looking for an option which prevents unregistered users from accessing an uploaded file. Any chance this will be an feature in upcoming releases?
Best regards
Jeroen
Hi Jaroen and thanks for this suggestion but it is a little bit difficult with .htaccess. In this case it is necessary to integrate your users in htaccess and restrict the access to the folder uploads to th mapped users.
Great idea but a little bit difficult…I’m gonna study;)
The plug in sounds great, Id love to use it, but it turned my dashboard almost completely white and the site as well. I do have an htaccess file for permalinks, so my hosting company can handle it. Any suggestions?
Maybe your host doesn’t support some directive.
Try using them step by step to discover the one that cause the error.
Excellent plugin. Impressive interface, excellent options using it on multiple sites including some energy sites and having great success with it. Awesome job!
Why is the following placed into the .htaccess file by this plugin?
RewriteRule .(jpg|jpeg|png|gif)$ http://www.andreapernici.com/nohotlinking.jpg [NC,R,L]
This randomly places your face (picture) over one or more pictures on the website and it also immediately links to you website.
It is really annoying to see somebody’s distorted pictures everywhere where there is supposed to be a picture, and to wait an extra 30 seconds for a page to load because it is first redirected to your site!
Hi Deon.
That rule is used to prevent hotlinking and you can replace with any image you want.
If you don’t want to use the hotlinking prevention you can disable it in the plugin admin.
If you don’t know what is hotlinking try searching on google
[...] es la web oficial del plugin y puedes descargarlo aquí. Share Plugins de Seguridad plugin cache [...]
Hey Why you add your link this is not ture.
MY Site Show 20-30 mines your Face .
http://www.andreapernici.com/nohotlinking.jpg
Fuck
Adding your follow me on twitter thing on other people’s website’s through your plugin really proves the plugin serve against its purpose!
Aurelia I’n not putting anything…simply disable HotLinking.
Maybe you’re not using the plugin in the correct way.
You fucker! I disabled your hotlinking and the image still appears. I disabled your plug-in and it is still there.
I am reporting you plug-in immediately.
Hi Maria you are probably making something wrong.
Try deleting the hotlinking line in your .htaccess file or disabling the function in the plugin admin page.
Don’t fuck me if you don’t know what you are doing.
Thanks.