would love to compare everybodys .htaccess files and get some feedback wether good or bad. ill start, just replace your site with example.
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
ErrorDocument 404 http://example.com/
# stops www
RewriteEngine on
rewritecond %{HTTP_HOST} ^www.example\.com
RewriteRule ^(.*) http://example.com/$1 [L,R=301]
# redirects index.php to main url
RewriteEngine on
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ http://example.com/$1 [R=301,L]
# Set the default handler
DirectoryIndex index.php
# stops hotlinking from everywhere
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !example\.com [NC]
RewriteCond %{HTTP_REFERER} !yahoo\. [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !bing\. [NC]
RewriteCond %{HTTP_REFERER} !bingj\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteCond %{REQUEST_URI} !/stop/stop.png
RewriteRule \.(jpeg|jpg|gif|png)$ http://example.com/stop/stop.png [NC,R,L]
# Manually enables SSI on your server
AddHandler server-parsed .htm