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 | |||||
feedback
|
This question is not a good fit to our Q&A format. We expect answers to generally involve facts, references, or specific expertise; this question will likely solicit opinion, debate, arguments, polling, or extended discussion. See the FAQ for guidance on how to improve it.
|
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
| |||||||||||||
feedback
|
Better rewrite rules for WordPress permalinksBy 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.
| |||||
feedback
|
|
GZip compression GZip compression
| ||||
|
feedback
|
|
Some basic Security stuff.
| ||||
|
feedback
|
Redirects and pretty permalinks without mod_rewrite
| |||||||
feedback
|
|
ERRATA
| |||||
feedback
|
|
This is something more secured i hop you like this
| ||||
|
feedback
|