Lockergnome
Lockergnome’s Doing It
Home Contact Us! Subscribe

How to Create the Perferct .htaccess File

Or how to prevent unwanted scraping of your content. On a Web server, the htaccess file is sort of like a keyless entry system for visitors. With the right credentials, you walk right in. Wrong creditinals, you’re left standing on the porch waiting for someone to answer the door. That’s not exactly a perfect analogy, but that’s sort of how it works. Good sites, like Google want to search your server for pages to index. Bad sites might want to summarily scrape your content for a spamblog. Using an htaccess file, you tell these visitors whether they can pay you a visit or whether they get kicked to the curb. While the scraping tools are constantly a moving target, JavaScript Kit provides something close to a perfect resource (for now) on building an htaccess file to defend your site by blocking bad bots and site rippers.

, , , ,

Related Posts

WordPress database error: [Table './lg_diy/wp_comments' is marked as crashed and last (automatic?) repair failed]
SELECT * FROM wp_comments WHERE comment_post_ID = '15' AND comment_approved = '1' ORDER BY comment_date

Leave a Comment

RSS feed for comments on this post · TrackBack URI

All Comments and Trackbacks are moderated (unless you're a registered user). Regardless, this page will refresh when your submission is entered.