Search engine optimization (SEO) pertains to the activity of optimizing individual websites and webpages to get higher page rank in the search results. Websites are ordinarily optimized through back links, while individual webpages are optimized through specific keywords. In this paper, we propose a frameworkbased on set of guidelines for keyword research analysis and back links generation. The proposed framework suggests that webpage content should be based on keywords and the site traffic should be monitored through referrals. We argue that if a website has some prevalent and pertinent keywords in its content and title along with a reasonable amount of back links that help watch the website traffic, then we can get better rank for the website in the search results. The framework also emphasizes that proper keyword selection and link building should be taken into account when developers and designers work on a software development project. The results of the study are reported here.