Wordpress: .htaccess performance tricks

These are performance tricks to improve your Wordpress application.

# ########################################
# Custom HTACCESS 
# DESCRIPTION: Tips and tricks to beef up your wordpress quality
# ########################################
 
# Prevent people from browsing your WordPress folder structure
Options All -Indexes
 
# Prevent people from browsing your WordPress folder structure
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteCond %{HTTP_USER_AGENT} !^.*(FeedBurner|FeedValidator) [NC]
 RewriteRule ^feed/?.*$ http://feeds.labnol.org/labnol [L,NC,R=301]
</IfModule>
 
# Hide your XML Sitemaps from Search Engines
<IfModule mod_rewrite.c>
 <Files sitemap.xml>
  Header set X-Robots-Tag "noindex"
 </Files>
</IfModule>