DiggingIntoWordPress

by Chris Coyier & Jeff Starr

Daily archives: Saturday, March 19, 2011

6 .htaccess Tricks for Better WP SEO & Security

Posted by on

Here are six htacccess tricks that will help improve the security and SEO quality of your WordPress-powered site. We do this using .htaccess to establish canonical URLs for key peripheral files, such as your robots.txt, favicon.ico, and sitemap.xml files. Canonicalization keeps legitimate bots on track, eliminates malicious behavior, and ensures a better user-experience for everyone. On the menu:

Code is poetry