To optimize your website for online directories, you should ensure that your business information is accurate and up-to-date, and include keywords that are relevant to your industry and location.