Herself's Webtools

Scripts, HowTos, Templates, Plugins, Widgets, Tips

Archive for November, 2007

Are your directories showing?

without comments

Have you ever gone to a website and gotten a file listing instead of webpage? That’s not something you want happening. First it confuses your visitors, second no one should be viewing your directories for security reasons.

To prevent directory viewing you can stick a index.html file in each directory. Perhaps just a list of links pointing your visitor to the main sections of your website.

Or you can edit your .htaccess file and add

Options -Indexes

This will return a 403 error to the visitor.

Or you can edit your .htaccess file and add

DirectoryIndex missing.html

Then when a user tries to view a directory your ‘missing.html’ file will be shown. You can chose any file you want it doesn’t have to be missing.html.

See also:
Perishable Press Stupid htaccess tricks

Written by Linda MacPhee-Cobb

November 26th, 2007 at 5:00 am

Posted in how to,security

Seven Adsense tips and tricks

without comments

1 ) Use channels! In AdSense when you are setting up your ad you a given a choice of using channels. Put them to good use. Use a channel for the site, size of the ad, type of the ad and the location of the ad. Find out what works best on your site and ditch or fix the rest.

2 ) Use the Google AdSense Heat Map to help decide where to place your ads.

3 ) Blended ad colors work best.

4 ) Use keywords in your url.

5 ) Use an AdSense search box on your website, not the search that came built into your website content management system.

6 ) Product review sites and sites with lots of links about a specific subject do well I’m told.

7 ) Place your ads above the fold. This is an old term for the top half of a newspaper. You want your ads to show with out the user scrolling down. Neither put all ads at the top so that content is not there.

Written by Linda MacPhee-Cobb

November 23rd, 2007 at 5:00 am