prevent tmp/cache and log files from appearing on search and sidebar