To improve SEO, I will suggest you to use a CMS or framework rather than adopting a custom approach, when developing a website. The reason for this is that a lot of considerations regarding the SEO have already been taken into account while programming a CMS. Among these CMS, those which are performing well on search engines are Wordpress, Joomla, Drupal etc.
. . .