i'm developing this small seo component, i want to know how it should be done. now i'm writing seo meta tags and other tags search engines looking into the page. i'm getting the content of the page and look for the previous set of say, keywords and replacing them with the new set. and same for the other tag, but i have a problem here. if the page contains same text in another place , it will be replaced too. hope you can give me a solution for this. thanks in advance.