Secure .htaccess example - Keep your blog secure!
# Use PHP5 Single php.ini as default AddHandler application/x-httpd-php5s .php # BEGIN WordPress # END WordPress Options ExecCGI Includes IncludesNOEXEC SymLinksIfOwnerMatch -Indexes Options +FollowSymLinks <Files wp-config.php> order allow,deny deny from all </Files> <Files .htaccess> order allow,deny deny from all </Files> <IfModule mod_rewrite.c> RewriteCond %{REQUEST_URI} !^/$ RewriteCond %{QUERY_STRING} \s RewriteRule .* - [F,L] </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) RewriteRule ^(.*)$ index.php [F,L] </IfModule>
Thanks
Get Content Targeted Super Real Traffic to Boost your Adsense Revenue!