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

Comments and Trackbacks

Blogging Basics 101 - January 24, 2008 @ 6:11 am

. Before you sign up, though, read their Terms of Agreement and Privacy Policies thoroughly to see if it’s the right site for you. Some ways to help prevent scraping on your own site: This one is for advanced bloggers:How to Create the Perfect .htaccess FileJohn-Paul also offers some advice to help yourself avoid being scraped. Following his advice doesn’t mean you won’t get scraped, but it may help you discourage the practice. Cloaking to Stop Scraping

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.