Here is what one can do to achieve an SEO-friendly site:-
Consolidate your www and the non-www domain versions
Avoid dynamic and relative URLs
Create an XML Sitemap
Close off irrelevant pages with robots.txt
Specify canonical URLs using a special tag
Integrate Social Media into your Website's Design
Use JavaScript Sparingly
Make sure your URL is User-Friendly
Place Your Keywords in many Different Places