One of the pitfalls to avoid with a new local site is too much spammy advertising -particularly adsense.
It can be a real turn off to readers, particularly when your site is a little lacking in high quality content.
It’s often a good idea to delay introducing adsense or affilate advertising until your site has gained traction.
But recoding hundreds or thousands of pages can be a real pain.
One way round this is to write your pages in .shtml. This allows you to call on content from external files (rather like php does, but simpler).
You can put your ad code in an external file and put an instruction on each page you want to show advertising to read the contents of that file….it’s dead easy.
When you start out, leave the file with your ad code empty – the file will exist, but will not effect your webpage. A browser will read the file and then move on to the next bit of code on your webpage.
When you feel your site is ready to display ads, just insert your ad code into that empty file, upload it to your server and Bingo!
Your geo website instantly explodes into life as a little money making machine.
External files are also great for things like headers, footers, navigation and other features that effect multiple pages of a website.
With careful planning, you can insert sleeper files to cover different ad placements on your site, allowing you to tweak the future ad earning performance of your site without recoding hundreds of web pages.