Save Yourself from Insomnia!
saveyourself.ca/articles/insomnia.php
From the page
Saved with the link. Notes from 2007 to 2016 are mostly the page's own words, so this is probably an excerpt.
This detailed self-help article is humbly offered to people suffering from severe insomnia, in the hopes that my expertise and personal experience can be of some use to you. Before you place your hopes in any of my recommendations, however, please ensure that there is no medical cause for your insomnia first. That said, many severe cases of insomnia are basically bad habits, and will respond to behavioural conditioning123 and even if there is a medical cause for your insomnia, behavioural conditioning may still be your best defense.