#Block access to sensitive directories #When you do an upgrade/ patch #Comment out line 2 and line 7 #After upgrade/patch, remove comment out RedirectMatch 404 ^.*/\.pgp.*/.*$ RedirectMatch 404 ^.*/patch\..*$ RedirectMatch 404 ^.*/sql/.*$ RedirectMatch 404 ^.*/schemes/.*$ RedirectMatch 404 ^.*/skin1_original/.*$ RedirectMatch 404 ^.*/Smarty.*$ RedirectMatch 404 ^.*/upgrade/.*$ RedirectMatch 404 ^.*/shipping/.*$ RedirectMatch 404 ^.*/var/.*$ # block sensitive filetypes, and tpl files RedirectMatch 404 ^.*\.(ini|tpl|sql|log|conf|bak|tpl)$ # Block access to sensitive files RedirectMatch 404 ^.*/COPYRIGHT.*$ RedirectMatch 404 ^.*/INSTALL.*$ RedirectMatch 404 ^.*/NEW.*$ RedirectMatch 404 ^.*/README.*$ RedirectMatch 404 ^.*/UPGRADE.*$ RedirectMatch 404 ^.*/VERSION.*$ RedirectMatch 404 ^.*/include/version\.php$ RedirectMatch 404 ^.*/config\.php$ RedirectMatch 404 ^.*/top\.inc\.php$ RedirectMatch 404 ^.*/install\.php$ Disallow: /*printable=Y Disallow: /*js=* Disallow: /*sort=* Disallow: /product.php* Disallow: /home.php?cat=* Disallow: /catalog/ Disallow: /search.php Disallow: /cart.php Disallow: /help.php Disallow: /giftcert.php Disallow: /product.php Disallow: /orders.php Disallow: /register.php Disallow: /icon.php Disallow: /image.php Disallow: /error_message.php Disallow: /offers.php Disallow: /product_image.php