I cleaned up the mysql database but deleted too much. Now, in joomla 2.5, when you go to the category manager, in the joomla administrator, the root category is missing. As a consequence the acesef component generates the wrong category in some urls. I cannot rebuild the categories tree data in the administrator. I'm sure it is a simple problem and have a very low budget for it.
1 - you must fix the category root problem so the acesef component generates the correct urls, and
2 - advice on duplicate content problem in the website.