Complex sentence: The local African rulers in Guinea, some of whom prospered greatly from the slave trade, had no interest in allowing the Europeans any further inland than the fortified coastal settlements where the trading took place.
Split into simpler sentences: The local African rulers in Guinea, some of whom prospered greatly from the slave trade, controlled the inland trade and did not allow the Europeans into the interior. They kept them in the fortified coastal settlements where the trading took place.