updated   : May 15, 2012
we now have 588 snippets
category htaccess
By : , on February 28, 2011 9:00 am

htaccess for a better login URL

wordpress snippet

Adding this rewrite rule to your .htaccess file in the root directory of your wordpress install will change your login url from www.website.com/wp-login.php to www.website.com/login/

read more
By : , on February 17, 2011 9:00 am

Redirect empty searches to root

wordpress snippet

Adding this snippet to your .htaccess file, will redirect empty searches to root. Be sure to backup your htaccess first.

read more
By : , on December 03, 2010 4:00 pm

Protect wp-config with .HTACCESS

wordpress snippet

Adding this to your .HTACCESS will prevent access to your wp-config.php file.

read more
By : , on November 28, 2010 6:00 pm

Deny spambots from comments

wordpress snippet

Adding this to your HTACCESS will help keep bots from posting comments on your wordpress blog, be sure to change yourdomain.com to your website address.

read more
By : , on November 06, 2010 9:00 am

Admin IP whitelist

wordpress snippet

Adding this snippet to your htaccess file will whitelist a set of IP addresses that you wish to have access to your admin panel. Replace the xx.xx.xx.xxx with the IP address you wish to whitelist. Be careful with this you don’t want to block yourself from the admin panel,

read more
By : , on November 04, 2010 7:00 pm

Block common exploit

wordpress snippet

Adding this code to your .HTACCESS will block common exploits.

read more
By : , on October 28, 2010 9:33 pm

Redirect feed to feedburner

wordpress snippet

Adding this to your .htaccess will redirect your wordpress feed to your feedburner feed.

read more