We have the Best Collection of Code for your functions.php file thread, so I thought that it might be useful to create a thread for our .htaccess files.
AND PLEASE REMEMBER TO ADD ANY OF YOUR OWN SNIPPETS TO THIS LIST
We have the Best Collection of Code for your functions.php file thread, so I thought that it might be useful to create a thread for our .htaccess files.
AND PLEASE REMEMBER TO ADD ANY OF YOUR OWN SNIPPETS TO THIS LIST
You must be logged in to post a comment.
These are 3 snippet for better performance, regarding Yahoo! rules:
Disable Etags:
Add expire headers:
Or
Compress plain text file:
Read more about them here.
Updated:
Redirect requests to www domain
Block request to xmlrpc.php
Use this only when you don’t use remote publishing as it can prevent your blog from hacks.
Redirect all feeds to feedburner
Better rewrite rules for WordPress permalinks
By default WordPress sends a 404 HTML page for missing images and stylesheets â they are never rendered by a browser. And it catches your symbolic links.
GZip compression
GZip compression
Some basic Security stuff.
Redirects and pretty permalinks without mod_rewrite
ERRATA
This is something more secured i hop you like this